kafka
kafka copied to clipboard
KAFKA-17568 Rewrite TestPurgatoryPerformance by JMH
Jira: https://issues.apache.org/jira/browse/KAFKA-17568 Move TestPurgatoryPerformance from Scala to Java, and transfer to use benchmark.
Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
| Benchmark | (numKeys) | (numPossibleKeys) | (numRequests) | (pct50) | (pct75) | (requestRate) | (timeout) | Mode | Cnt | Score | Error | Units |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| TestPurgatoryPerformance.testPurgatoryPerformance | 3 | 100 | 100 | 0.5 | 0.75 | 10.0 | 1000 | thrpt | 15 | ≈ 10⁻¹⁰ | ops/ns | |
| TestPurgatoryPerformance.testPurgatoryPerformance | 3 | 100 | 100 | 0.5 | 0.75 | 10.0 | 1000 | avgt | 15 | 11568900851.367 | ± 725751170.308 | ns/op |
Thanks for your suggestion, I will change it to plain Java
my local mashine can run the test