Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-11350

Optimize - StopWatch should be tiny to have less memory footprint

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.20.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        1. watch-before.png
          81 kB
          Claus Ibsen
        2. watch-after.png
          77 kB
          Claus Ibsen

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: