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

Function EmptyCallback

eval/tests/modern_benchmark_test.cc:160–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158BENCHMARK(BM_Eval)->Range(1, 10000);
159
160absl::Status EmptyCallback(int64_t expr_id, const Value&,
161 const google::protobuf::DescriptorPool* absl_nonnull,
162 google::protobuf::MessageFactory* absl_nonnull,
163 google::protobuf::Arena* absl_nonnull) {
164 return absl::OkStatus();
165}
166
167// Benchmark test
168// Traces cel expression with an empty callback:

Callers 1

ABSL_FLAGFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected