peng-yongsheng opened a new pull request #1045: Feature/1032
URL: https://github.com/apache/incubator-skywalking/pull/1045
 
 
   Please answer these questions before submitting pull request
   
   - Why submit this pull request?
   - [X] Improve performance
   
   - Related issues
   #1032 
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   
   1. Time stamp format to time bucket performance optimization.
   2. Reduce the number of calls to the method named "getMinuteTimeBucket".
   
   ```
   Before:
   /utils/timeBucket/getSecondTimeBucket
        Avg=9768 (nanosecond), Success Rate=100%, Calls=17417, Total=170135908 
(nanosecond)
   /utils/timeBucket/getMinuteTimeBucket
        Avg=7384 (nanosecond), Success Rate=100%, Calls=82536, Total=609514865 
(nanosecond)
   
   After:
   /utils/timeBucket/getSecondTimeBucket
        Avg=13636 (nanosecond), Success Rate=100%, Calls=3664, Total=49964432 
(nanosecond)
   /utils/timeBucket/getMinuteTimeBucket
        Avg=6148 (nanosecond), Success Rate=100%, Calls=27512, Total=169161105 
(nanosecond)
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to