Add cache hit benchmark to parsing benchmarks.
PiperOrigin-RevId: 810495543 Change-Id: I8c10806a091f870266f2c1194b39159c1f3105e0
This commit is contained in:
committed by
Copybara-Service
parent
d71d42a374
commit
e3377ceca3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user