File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,9 @@ using namespace o2::soa;
2525// Validation of new event mixing: time complexity same as for naive loop
2626
2727#ifdef __APPLE__
28- constexpr unsigned int maxPairsRange = 5 ;
29- constexpr unsigned int maxFivesRange = 3 ;
28+ constexpr unsigned int maxPairsRange = 8 ;
3029#else
31- constexpr unsigned int maxPairsRange = 5 ;
32- constexpr unsigned int maxFivesRange = 3 ;
30+ constexpr unsigned int maxPairsRange = 8 ;
3331#endif
3432constexpr int numEventsToMix = 5 ;
3533constexpr int numTracksPerEvent = 10000 ;
@@ -126,7 +124,7 @@ static void BM_EventMixingTraditional(benchmark::State& state)
126124 state.SetBytesProcessed (state.iterations () * sizeof (float ) * count);
127125}
128126
129- BENCHMARK (BM_EventMixingTraditional)->RangeMultiplier(2 )->Range(4 , 8 << maxPairsRange);
127+ BENCHMARK (BM_EventMixingTraditional)->RangeMultiplier(2 )->Range(4 , 2 << maxPairsRange);
130128
131129static void BM_EventMixingCombinations (benchmark::State& state)
132130{
@@ -196,6 +194,6 @@ static void BM_EventMixingCombinations(benchmark::State& state)
196194 state.SetBytesProcessed (state.iterations () * sizeof (float ) * count);
197195}
198196
199- BENCHMARK (BM_EventMixingCombinations)->RangeMultiplier(2 )->Range(4 , 8 << maxPairsRange);
197+ BENCHMARK (BM_EventMixingCombinations)->RangeMultiplier(2 )->Range(4 , 2 << maxPairsRange);
200198
201199BENCHMARK_MAIN ();
You can’t perform that action at this time.
0 commit comments