We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20de668 commit a3a126dCopy full SHA for a3a126d
libcxx/test/benchmarks/containers/associative/associative_container_benchmarks.h
@@ -433,22 +433,6 @@ void associative_container_benchmarks(std::string container) {
433
}
434
});
435
436
- /////////////////////////
437
- // Capacity
438
439
- bench("size()", [=](auto& st) {
440
- const std::size_t size = st.range(0);
441
- std::vector<Value> in = make_value_types(generate_unique_keys(size));
442
- Container c(in.begin(), in.end());
443
-
444
- for (auto _ : st) {
445
- auto result = c.size();
446
- benchmark::DoNotOptimize(result);
447
- benchmark::DoNotOptimize(c);
448
- benchmark::ClobberMemory();
449
- }
450
- });
451
452
/////////////////////////
453
// Query
454
0 commit comments