| 397 | BENCHMARK(BM_Utf8Validate_Cord_AsciiTen); |
| 398 | |
| 399 | void 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 | |
| 407 | BENCHMARK(BM_Utf8Validate_String_JapaneseTen); |
| 408 |
nothing calls this directly
no test coverage detected