MCPcopy Create free account
hub / github.com/bytedance/bolt / BM_setAll

Function BM_setAll

bolt/vector/benchmarks/SelectivityVectorBenchmark.cpp:190–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188// setAll Tests
189
190void BM_setAll(uint32_t iterations, size_t numEntries) {
191 folly::BenchmarkSuspender suspender;
192 SelectivityVector vector(numEntries);
193 suspender.dismiss();
194
195 for (uint32_t i = 0; i < iterations; ++i) {
196 vector.setAll();
197 }
198
199 suspender.rehire();
200}
201
202BENCHMARK_PARAM(BM_setAll, 1);
203BENCHMARK_PARAM(BM_setAll, 1000);

Callers

nothing calls this directly

Calls 1

setAllMethod · 0.80

Tested by

no test coverage detected