kafka icon indicating copy to clipboard operation
kafka copied to clipboard

KAFKA-17568 Rewrite TestPurgatoryPerformance by JMH

Open m1a2st opened this issue 1 year ago • 1 comments

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)

m1a2st avatar Sep 21 '24 15:09 m1a2st

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

m1a2st avatar Sep 29 '24 02:09 m1a2st

Thanks for your suggestion, I will change it to plain Java

m1a2st avatar Oct 22 '24 18:10 m1a2st

my local mashine can run the test image

m1a2st avatar Oct 22 '24 21:10 m1a2st