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

Function BM_SetsEquivalentTrue

extensions/sets_functions_benchmark_test.cc:280–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278}
279
280void BM_SetsEquivalentTrue(benchmark::State& state) {
281 ListImpl impl = FromNumber(state.range(0));
282 int size = state.range(1);
283
284 RunBenchmark({"sets.equivalent_true", "sets.equivalent(x, y)", impl, size,
285 CelValue::CreateBool(true)},
286 state);
287}
288
289void BM_SetsEquivalentFalse(benchmark::State& state) {
290 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