Use system.currentTimeMillis for calculating performance
--------------------------------------------------------

                 Key: CAMEL-3807
                 URL: https://issues.apache.org/jira/browse/CAMEL-3807
             Project: Camel
          Issue Type: Improvement
          Components: camel-core
            Reporter: Claus Ibsen
            Assignee: Claus Ibsen
            Priority: Minor
             Fix For: 2.8.0


At TSSJS Kirk P. did the Java performance talk, and he said you should favor 
using System.currentTimeMillis over the nano one, as the latter is not suitable 
for measuring performance as it can become negative and dont cater when having 
multiple cores etc. And millis is more than precise for end users for measure 
route stats in Camel.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to