[ 
https://issues.apache.org/jira/browse/CAMEL-11346?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-11346:
--------------------------------
    Attachment: stop-watch.png

Screenshot of memory dump with 70k stopwatch instances 

> Optimize EventNotifier sending/sent exchange
> --------------------------------------------
>
>                 Key: CAMEL-11346
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11346
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>             Fix For: 2.20.0
>
>         Attachments: stop-watch.png
>
>
> We create a fair number of StopWatch instances which is only needed if the 
> event notification is being in use.
> However we can optimize this to let the sending return a boolean whether its 
> in use or not, and then only if its in use, then we create a StopWatch to 
> capture the timing.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to