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 2020/11/25 00:35:45 UTC

[GitHub] [druid] himanshug opened a new pull request #10604: DataSourcesSnapshotBenchmark to measure iterateAllUsedSegmentsInSnapshot perf

himanshug opened a new pull request #10604:
URL: https://github.com/apache/druid/pull/10604


   wrote to get some numbers for the discussion in #10287
   
   On my laptop (I know its not perfect, but gives an idea for the discussion above)..
   
   ```
   Benchmark                                                                   (numDataSources)  (numSegmentPerDataSource)  Mode  Cnt         Score        Error  Units
   DataSourcesSnapshotBenchmark.iterateUsing_forloops                                       500                       1000    ss   50   4232403.460 ± 219765.673  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_forloops                                       500                       2000    ss   50   8659380.560 ± 185390.719  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_forloops                                      1000                       1000    ss   50   9013917.980 ± 188947.989  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_forloops                                      1000                       2000    ss   50  17031865.840 ± 211728.709  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_iterateAllUsedSegmentsInSnapshot               500                       1000    ss   50  12191110.300 ± 112767.069  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_iterateAllUsedSegmentsInSnapshot               500                       2000    ss   50  25415400.500 ±  94122.833  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_iterateAllUsedSegmentsInSnapshot              1000                       1000    ss   50  24639497.460 ± 142729.255  ns/op
   DataSourcesSnapshotBenchmark.iterateUsing_iterateAllUsedSegmentsInSnapshot              1000                       2000    ss   50  53371752.960 ± 395712.839  ns/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


[GitHub] [druid] himanshug merged pull request #10604: DataSourcesSnapshotBenchmark to measure iterateAllUsedSegmentsInSnapshot perf

Posted by GitBox <gi...@apache.org>.
himanshug merged pull request #10604:
URL: https://github.com/apache/druid/pull/10604


   


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