camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11483) Optimise - Recording time taken for each processor should be advice
Date Thu, 29 Jun 2017 14:52:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-11483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16068435#comment-16068435
] 

Claus Ibsen commented on CAMEL-11483:
-------------------------------------

Now the InstrumentationProcessor$1 has been optimised so its not created for each step in
the route a message is routed. The before vs after picture.

> Optimise - Recording time taken for each processor should be advice
> -------------------------------------------------------------------
>
>                 Key: CAMEL-11483
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11483
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core, jmx
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>         Attachments: after.png, before.png
>
>
> I think I found a way to optimise this so we can use advice for recording the time taken
for each processor. We do this already on route level only. But the processors are currently
wrapped which takes up extra footprint. By using advice we can optimise this. There is already
a TODO about this, however the logic to setup the MBean and their counters was a bit complex.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message