Skip to content

Commit bacd6b1

Browse files
committed
.
1 parent 1af11ca commit bacd6b1

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

benchmark/plain/swiss/concurrent_insert.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff 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();

0 commit comments

Comments
 (0)