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

Function BM_Utf8Validate_String_JapaneseTen

internal/utf8_test.cc:399–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

397BENCHMARK(BM_Utf8Validate_Cord_AsciiTen);
398
399void BM_Utf8Validate_String_JapaneseTen(benchmark::State& state) {
400 for (auto s : state) {
401 benchmark::DoNotOptimize(Utf8Validate(
402 "\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa"
403 "\x9e\xe6\x97\xa5\xe6\x9c\xac\xe8\xaa\x9e\xe6\x97\xa5"));
404 }
405}
406
407BENCHMARK(BM_Utf8Validate_String_JapaneseTen);
408

Callers

nothing calls this directly

Calls 1

Utf8ValidateFunction · 0.85

Tested by

no test coverage detected