You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/03/03 06:26:19 UTC

[GitHub] [druid] jihoonson commented on pull request #10936: Migrate bitmap benchmarks to JMH

jihoonson commented on pull request #10936:
URL: https://github.com/apache/druid/pull/10936#issuecomment-789471850


   Sharing results of the new benchmarks for people who might be interested. 
   
   ```
   Benchmark                            (bitmapLength)  (density)  (minIntersect)  (numBitmaps)   (type)  Mode  Cnt   Score    Error  Units
   UniformBitmapBenchmark.intersection          500000       0.01              50         10000  concise  avgt   10  52.272 ± 13.441   s/op
   UniformBitmapBenchmark.intersection          500000       0.01              50         10000  roaring  avgt   10   0.471 ±  0.004   s/op
   UniformBitmapBenchmark.union                 500000       0.01              50         10000  concise  avgt   10  14.196 ±  2.273   s/op
   UniformBitmapBenchmark.union                 500000       0.01              50         10000  roaring  avgt   10   0.082 ±  0.001   s/op
   ```
   
   ```
   Benchmark                              (bitmapLength)  (density)  (minIntersect)  (numBitmaps)   (type)  Mode  Cnt   Score    Error  Units
   RangeBitmapBenchmarkTest.intersection          500000      0.001              50         10000  concise  avgt   10  55.939 ± 12.144   s/op
   RangeBitmapBenchmarkTest.intersection          500000      0.001              50         10000  roaring  avgt   10   0.066 ±  0.001   s/op
   RangeBitmapBenchmarkTest.union                 500000      0.001              50         10000  concise  avgt   10   1.010 ±  0.013   s/op
   RangeBitmapBenchmarkTest.union                 500000      0.001              50         10000  roaring  avgt   10   0.056 ±  0.001   s/op
   ```
   
   ```
   Benchmark                                            (bitmapLength)  (minIntersect)  (numBitmaps)   (type)  Mode  Cnt   Score   Error  Units
   BitmapBenchmarkWithVaryingOrder.intersection                 500000              50         10000  roaring  avgt   10  83.929 ± 0.214  ms/op
   BitmapBenchmarkWithVaryingOrder.intersectionReverse          500000              50         10000  roaring  avgt   10  84.921 ± 0.155  ms/op
   BitmapBenchmarkWithVaryingOrder.union                        500000              50         10000  roaring  avgt   10   9.616 ± 0.228  ms/op
   BitmapBenchmarkWithVaryingOrder.unionReverse                 500000              50         10000  roaring  avgt   10   9.149 ± 0.227  ms/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



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org