File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ static const int kBatchSize = 50;
35
35
36
36
static const char kBoxMeshPath [] =
37
37
" ../test/engine/testdata/collision_convex/perf/boxmesh.xml" ;
38
+ static const char kBoxBoxPath [] =
39
+ " ../test/engine/testdata/collision_convex/perf/box.xml" ;
38
40
static const char kEllipsoidPath [] =
39
41
" ../test/engine/testdata/collision_convex/perf/ellipsoid.xml" ;
40
42
static const char kMixedPath [] =
@@ -113,6 +115,12 @@ void ABSL_ATTRIBUTE_NO_TAIL_CALL
113
115
}
114
116
BENCHMARK (BM_BoxMesh_LibCCD);
115
117
118
+ void ABSL_ATTRIBUTE_NO_TAIL_CALL BM_BoxBox (benchmark::State& state) {
119
+ static TestHarness harness (kBoxBoxPath , " box.xml (BoxBox)" );
120
+ harness.RunBenchmark (state);
121
+ }
122
+ BENCHMARK (BM_BoxBox);
123
+
116
124
void ABSL_ATTRIBUTE_NO_TAIL_CALL
117
125
BM_Ellipsoid_NativeCCD (benchmark::State& state) {
118
126
static TestHarness harness (kEllipsoidPath , " ellipsoid.xml (nativeccd)" );
You can’t perform that action at this time.
0 commit comments