You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/03/16 01:50:08 UTC

[GitHub] [kafka] jsancio edited a comment on pull request #10324: MINOR: Add a few more benchmark for the timeline map

jsancio edited a comment on pull request #10324:
URL: https://github.com/apache/kafka/pull/10324#issuecomment-799843745


   Benchmark results:
   
   ```
   # Run complete. Total time: 00:26:54
   
   Benchmark                                                 Mode  Cnt    Score    Error  Units
   TimelineHashMapBenchmark.testAddEntriesInHashMap          avgt   10  238.332 ±  4.554  ms/op
   TimelineHashMapBenchmark.testAddEntriesInImmutableMap     avgt   10  366.732 ±  6.463  ms/op
   TimelineHashMapBenchmark.testAddEntriesInTimelineMap      avgt   10  277.197 ±  4.699  ms/op
   TimelineHashMapBenchmark.testAddEntriesWithSnapshots      avgt   10  302.747 ±  4.959  ms/op
   TimelineHashMapBenchmark.testRemoveEntriesInHashMap       avgt   10  201.004 ±  2.675  ms/op
   TimelineHashMapBenchmark.testRemoveEntriesInImmutableMap  avgt   10  479.964 ±  7.254  ms/op
   TimelineHashMapBenchmark.testRemoveEntriesInTimelineMap   avgt   10  195.382 ±  1.917  ms/op
   TimelineHashMapBenchmark.testRemoveEntriesWithSnapshots   avgt   10  427.747 ± 12.865  ms/op
   TimelineHashMapBenchmark.testUpdateEntriesInHashMap       avgt   10  267.895 ± 20.143  ms/op
   TimelineHashMapBenchmark.testUpdateEntriesInImmutableMap  avgt   10  532.843 ±  5.766  ms/op
   TimelineHashMapBenchmark.testUpdateEntriesInTimelineMap   avgt   10  364.766 ± 25.154  ms/op
   TimelineHashMapBenchmark.testUpdateEntriesWithSnapshots   avgt   10  488.308 ± 43.992  ms/op
   TimelineHashMapBenchmark.testIterateEntriesInHashMap       avgt   10  42.297 ± 1.655  ms/op
   TimelineHashMapBenchmark.testIterateEntriesInImmutableMap  avgt   10  34.913 ± 0.903  ms/op
   JMH benchmarks done
   ```
   
   Benchmark configuration:
   
   ```
   # JMH version: 1.27
   # VM version: JDK 11.0.10, OpenJDK 64-Bit Server VM, 11.0.10+9-Ubuntu-0ubuntu1.20.10
   # VM invoker: /usr/lib/jvm/java-11-openjdk-amd64/bin/java
   # VM options: <none>
   # JMH blackhole mode: full blackhole + dont-inline hint
   # Warmup: 3 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
   ```


----------------------------------------------------------------
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.

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