bvolpato commented on PR #24339: URL: https://github.com/apache/kafka/pull/24339#issuecomment-7084681619
JMH results (`-f 3 -wi 3 -i 5 -w 1s -r 1s -prof gc`, OpenJDK 21.0.11, Linux x86_64, comparing `trunk` at `278ba3205a` vs this PR): | Benchmark | Before (`trunk`) | After | Delta | Alloc Before | Alloc After | Alloc Delta | | :--- | ---: | ---: | ---: | ---: | ---: | ---: | | `RecordBatchIterationBenchmark.measureSkipIteratorForVariableBatchSize` (`NONE`, v2, `maxBatchSize=200`, 100 B) | 119,156 ops/s | 410,128 ops/s | 3.44x | 85,522.5 B/op | 6,669.8 B/op | -92.2% | | `UncompressedRecordBatchValidationBenchmark.measureAssignOffsetsNonCompressed` (v2, 1 rec, 100 B) | 6,707,016 ops/s | 9,847,974 ops/s | +46.8% | 1,552.0 B/op | 784.0 B/op | -49.5% | | `CompressedRecordBatchValidationBenchmark.measureValidateMessagesAndAssignOffsetsCompressed` (`LZ4`, v2, 1 rec, 100 B) | 3,676,099 ops/s | 4,063,056 ops/s | +10.5% | 1,160.0 B/op | 1,056.0 B/op | -9.0% | Each benchmark record in `BaseRecordBatchBenchmark` includes 5 headers (30-byte keys) on magic v2, which reflects typical header-bearing v2 batches validated on broker I/O threads. -- 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]
