frankvicky commented on PR #16494: URL: https://github.com/apache/kafka/pull/16494#issuecomment-2210689457
Hi @chia7712 I have both iterate test and init test, PTAL ``` # 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: 5 iterations, 10 s each # Measurement: 10 iterations, 10 s each # Timeout: 10 min per iteration # Threads: 1 thread, will synchronize iterations # Benchmark mode: Average time, time/op # Benchmark: org.apache.kafka.jmh.record.ConsumerRecordsBenchmark.recordsByNewImplementation Benchmark Mode Cnt Score Error Units ConsumerRecordsBenchmark.iteratorRecords avgt 10 288547.940 ± 25990.307 ns/op ConsumerRecordsBenchmark.iteratorRecordsByNewImplementation avgt 10 266188.726 ± 40392.469 ns/op ConsumerRecordsBenchmark.records avgt 10 61.363 ± 0.084 ns/op ConsumerRecordsBenchmark.recordsByNewImplementation avgt 10 1.113 ± 0.004 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