| 359 | BENCHMARK(BM_Utf8IsValid_Cord_AsciiTen); |
| 360 | |
| 361 | void 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 | |
| 369 | BENCHMARK(BM_Utf8IsValid_String_JapaneseTen); |
| 370 |
nothing calls this directly
no test coverage detected