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

Function BM_Utf8IsValid_String_JapaneseTen

internal/utf8_test.cc:361–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

359BENCHMARK(BM_Utf8IsValid_Cord_AsciiTen);
360
361void BM_Utf8IsValid_String_JapaneseTen(benchmark::State& state) {
362 for (auto s : state) {
363 benchmark::DoNotOptimize(Utf8IsValid(
364 "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa"
365 "\x9e\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe6\x97\xa5"));
366 }
367}
368
369BENCHMARK(BM_Utf8IsValid_String_JapaneseTen);
370

Callers

nothing calls this directly

Calls 1

Utf8IsValidFunction · 0.85

Tested by

no test coverage detected