frankvicky commented on PR #16494:
URL: https://github.com/apache/kafka/pull/16494#issuecomment-2220402779

   I have increased the number of warmup iterations to make the benchmark 
results more stable.
   
   ```
   # JMH version: 1.37
   # VM version: JDK 17.0.11, OpenJDK 64-Bit Server VM, 17.0.11+9-LTS
   # VM options: <none>
   # Blackhole mode: compiler (auto-detected, use 
-Djmh.blackhole.autoDetect=false to disable)
   # Warmup: 10 iterations, 10 s each
   # Measurement: 10 iterations, 10 s each
   # Threads: 1 thread, will synchronize iterations
   # Benchmark mode: Average time, time/op
   
   Benchmark                                                       Mode  Cnt    
   Score       Error  Units
   ConsumerRecordsBenchmark.iteratorRecords                        avgt   10  
553151.074 ±  2273.429  ns/op
   ConsumerRecordsBenchmark.iteratorRecordsByLegacyImplementation  avgt   10  
566207.722 ± 12791.416  ns/op
   ConsumerRecordsBenchmark.records                                avgt   10    
   1.117 ±     0.002  ns/op
   ConsumerRecordsBenchmark.recordsWithLegacyImplementation        avgt   10    
  61.072 ±     0.026  ns/op
   ```


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to