Add cache hit benchmark to parsing benchmarks.

PiperOrigin-RevId: 810495543
Change-Id: I8c10806a091f870266f2c1194b39159c1f3105e0
This commit is contained in:
Sam Haves
2025-09-23 10:39:10 -07:00
committed by Copybara-Service
parent d71d42a374
commit e3377ceca3
4 changed files with 19762 additions and 0 deletions
+7
View File
@@ -94,4 +94,11 @@ void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_ParseHumanoid100(benchmark::State& state) {
BENCHMARK(BM_ParseHumanoid100);
} // namespace
void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_ParseCacheHits(benchmark::State& state) {
run_parse_benchmark(
GetModelPath("../test/benchmark/testdata/cache_hits.xml"), state);
}
BENCHMARK(BM_ParseCacheHits);
} // namespace mujoco