mxsm commented on PR #5805:
URL: https://github.com/apache/rocketmq/pull/5805#issuecomment-1368918960

   optimize before
   ```
   # JMH version: 1.35                                                          
                              
   # VM version: JDK 1.8.0_202, Java HotSpot(TM) 64-Bit Server VM, 25.202-b08   
                              
   # VM invoker: D:\Java\jre1.8\bin\java.exe                                    
                              
   # VM options: <none>                                                         
                              
   # Blackhole mode: full + dont-inline hint (auto-detected, use 
-Djmh.blackhole.autoDetect=false to disable) 
   # Warmup: 3 iterations, 2 s each                                             
                              
   # Measurement: 3 iterations, 4 s each                                        
                              
   # Timeout: 10 min per iteration                                              
                              
   # Threads: 8 threads, will synchronize iterations                            
                              
   # Benchmark mode: Throughput, ops/time                                       
                              
   # Benchmark: com.github.mxsm.TimeZoneBenchmark.after                         
                              
                                                                                
                              
   # Run progress: 0.00% complete, ETA 00:00:18                                 
                              
   # Fork: 1 of 1                                                               
                              
   # Warmup Iteration   1: 10005035.339 ops/s                                   
                              
   # Warmup Iteration   2: 11866693.040 ops/s                                   
                              
   # Warmup Iteration   3: 11873327.668 ops/s                                   
                              
   Iteration   1: 11839057.036 ops/s                                            
                              
   Iteration   2: 11982919.494 ops/s                                            
                              
   Iteration   3: 11209842.440 ops/s                                            
                              
                                                                                
                              
                                                                                
                              
   Result "com.github.mxsm.TimeZoneBenchmark.after":                            
                              
     11677272.990 ±(99.9%) 7500868.152 ops/s [Average]                          
                              
     (min, avg, max) = (11209842.440, 11677272.990, 11982919.494), stdev = 
411147.894                         
     CI (99.9%): [4176404.838, 19178141.142] (assumes normal distribution)      
                              
                                                                                
                              
                                                                                
                              
   # Run complete. Total time: 00:00:19                                         
                              
                                                                                
                              
   REMEMBER: The numbers below are just data. To gain reusable insights, you 
need to follow up on             
   why the numbers are the way they are. Use profilers (see -prof, -lprof), 
design factorial                  
   experiments, perform baseline and negative tests that provide experimental 
control, make sure              
   the benchmarking environment is safe on JVM/OS/HW level, ask for reviews 
from the domain experts.          
   Do not assume the numbers tell you what you want them to tell.               
                              
                                                                                
                              
   Benchmark                 Mode  Cnt         Score         Error  Units       
                              
   TimeZoneBenchmark.after  thrpt    3  11677272.990 ± 7500868.152  ops/s       
                              
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to