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

Function BM_Utf8CodePointCount_String_JapaneseTen

internal/utf8_test.cc:323–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321BENCHMARK(BM_Utf8CodePointCount_Cord_AsciiTen);
322
323void BM_Utf8CodePointCount_String_JapaneseTen(benchmark::State& state) {
324 for (auto s : state) {
325 benchmark::DoNotOptimize(Utf8CodePointCount(
326 "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa"
327 "\x9e\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe6\x97\xa5"));
328 }
329}
330
331BENCHMARK(BM_Utf8CodePointCount_String_JapaneseTen);
332

Callers

nothing calls this directly

Calls 1

Utf8CodePointCountFunction · 0.85

Tested by

no test coverage detected