qxo opened a new pull request #3068: improve ContextManager.stopSpan 
performance: call ThreadLocal only once
URL: https://github.com/apache/skywalking/pull/3068
 
 
   For the [JMH benchmark 
test](https://gitlab.com/qxo1/Common-JMH-benchmark/-/jobs/251025992) :
   On gitlab CI(java 8): call ThreadLocal once vs twice fast over 10%
   My T480 java 8 : fast over 40%; java 11: fast over 50%;
   
   [The JMH benchmark code 
](https://github.com/qxo/Common-JMH-benchmark/blob/master/src/main/java/test/ThreadLocalGetXTimeBenchmark.java)
   
   Please answer these questions before submitting pull request
   
   - Why submit this pull request?
   - [ ] Bug fix
   - [ ] New feature provided
   - [ *] Improve performance
   
   ___
   ### New feature or improvement
   - Describe the details and related test reports.
   

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


With regards,
Apache Git Services

Reply via email to