Add particle.xml to benchmark tests.
PiperOrigin-RevId: 561003057 Change-Id: I73094a135ae006eeb041fe55ebf3e998ebe6b3ab
This commit is contained in:
committed by
Copybara-Service
parent
5f3e22a45f
commit
50e968a6e2
@@ -86,6 +86,13 @@ void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_StepCloth(benchmark::State& state) {
|
||||
}
|
||||
BENCHMARK(BM_StepCloth);
|
||||
|
||||
void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_StepParticle(benchmark::State& state) {
|
||||
MujocoErrorTestGuard guard;
|
||||
static mjModel* model = LoadModelFromPath("composite/particle.xml");
|
||||
run_step_benchmark(model, state);
|
||||
}
|
||||
BENCHMARK(BM_StepParticle);
|
||||
|
||||
void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_StepFlag(benchmark::State& state) {
|
||||
MujocoErrorTestGuard guard;
|
||||
static mjModel* model = LoadModelFromPath("flag/flag.xml");
|
||||
|
||||
Reference in New Issue
Block a user