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

Function BM_Utf8CodePointCount_String_AsciiTen

internal/utf8_test.cc:306–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304 }));
305
306void BM_Utf8CodePointCount_String_AsciiTen(benchmark::State& state) {
307 for (auto s : state) {
308 benchmark::DoNotOptimize(Utf8CodePointCount("0123456789"));
309 }
310}
311
312BENCHMARK(BM_Utf8CodePointCount_String_AsciiTen);
313

Callers

nothing calls this directly

Calls 1

Utf8CodePointCountFunction · 0.85

Tested by

no test coverage detected