You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/05/27 13:11:04 UTC

[jira] [Updated] (CAMEL-11350) Optimize - StopWatch should be tiny to have less memory footprint

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

Claus Ibsen updated CAMEL-11350:
--------------------------------
    Attachment: watch-before.png
                watch-after.png

Before and after screenshots.

 8.8mb to 6.6mb for roughly the same number of object instances.

> Optimize - StopWatch should be tiny to have less memory footprint
> -----------------------------------------------------------------
>
>                 Key: CAMEL-11350
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11350
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>         Attachments: watch-after.png, watch-before.png
>
>
> We use many StopWatch to time how long time it takes to route messages in Camel in the routes / jmx etc. We can reduce the class size by only storing one long variable instead of 2.



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