diff --git a/test/benchmark/parse_benchmark_test.cc b/test/benchmark/parse_benchmark_test.cc index af793616..e528322b 100644 --- a/test/benchmark/parse_benchmark_test.cc +++ b/test/benchmark/parse_benchmark_test.cc @@ -48,10 +48,10 @@ static void run_parse_benchmark(const std::string xml_path, benchmark::State& st // separately in CPU profiles (and don't get replaced with raw calls to // run_parse_benchmark). -void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_ParseCable(benchmark::State& state) { +void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_ParseFlagPlugin(benchmark::State& state) { run_parse_benchmark(GetModelPath("plugin/elasticity/flag.xml"), state); } -BENCHMARK(BM_ParseCable); +BENCHMARK(BM_ParseFlagPlugin); void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_ParseFlag(benchmark::State& state) { run_parse_benchmark(GetModelPath("../test/benchmark/testdata/flag.xml"), diff --git a/test/benchmark/step_benchmark_test.cc b/test/benchmark/step_benchmark_test.cc index 6a3d5e9e..1c369e84 100644 --- a/test/benchmark/step_benchmark_test.cc +++ b/test/benchmark/step_benchmark_test.cc @@ -77,12 +77,12 @@ static void run_step_benchmark(const mjModel* model, benchmark::State& state) { // separately in CPU profiles (and don't get replaced with raw calls to // run_step_benchmark). -void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_StepCable(benchmark::State& state) { +void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_StepFlagPlugin(benchmark::State& state) { MujocoErrorTestGuard guard; static mjModel* model = LoadModelFromPath("plugin/elasticity/flag.xml"); run_step_benchmark(model, state); } -BENCHMARK(BM_StepCable); +BENCHMARK(BM_StepFlagPlugin); void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_StepParticle(benchmark::State& state) { MujocoErrorTestGuard guard;