MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / BM_SetsIntersectsTrue

Function BM_SetsIntersectsTrue

extensions/sets_functions_benchmark_test.cc:244–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

242}
243
244void BM_SetsIntersectsTrue(benchmark::State& state) {
245 ListImpl impl = FromNumber(state.range(0));
246 int size = state.range(1);
247
248 RunBenchmark({"sets.intersects_true", "sets.intersects(x, y)", impl, size,
249 CelValue::CreateBool(true)},
250 state);
251}
252
253void BM_SetsIntersectsFalse(benchmark::State& state) {
254 ListImpl impl = FromNumber(state.range(0));

Callers

nothing calls this directly

Calls 2

FromNumberFunction · 0.85
RunBenchmarkFunction · 0.70

Tested by

no test coverage detected