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

Optimize - StopWatch should be tiny to have less memory footprint

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.20.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      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-after.png
          77 kB
          Claus Ibsen
        2. watch-before.png
          81 kB
          Claus Ibsen

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              davsclaus Claus Ibsen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: