File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ static void BM_PlainUintSwissConcurrentInsert(benchmark::State& state)
4646 all_states.push_back (std::move (s));
4747 }
4848
49- const int threads = 24 ;
50- tbb::global_control gc (tbb::global_control::max_allowed_parallelism, threads);
49+ // const int threads = 24;
50+ // tbb::global_control gc(tbb::global_control::max_allowed_parallelism, threads);
5151
5252 for (auto _ : state)
5353 {
@@ -64,10 +64,7 @@ static void BM_PlainUintSwissConcurrentInsert(benchmark::State& state)
6464 assert (k < all_states.size ());
6565 benchmark::DoNotOptimize (root_table.insert (insert_sequence (all_states[k], tree_table)));
6666 }
67- }
68- // , tbb::auto_partitioner{} // default
69- // , tbb::static_partitioner{} // deterministic partitioning if preferred
70- );
67+ });
7168 }
7269
7370 benchmark::ClobberMemory ();
You can’t perform that action at this time.
0 commit comments