Remove benchMetrics

It's not all that interesting in the end
This commit is contained in:
2024-07-19 11:24:01 -07:00
parent 11c3ca6766
commit 6051b2fb2e

View File

@@ -358,21 +358,6 @@ void benchWorstCaseForRadixRangeRead() {
// }
}
void benchMetrics() {
ankerl::nanobench::Bench bench;
ConflictSet cs{0};
int count;
ConflictSet::MetricsV1 *m;
cs.getMetricsV1(&m, &count);
bench.batch(count);
bench.run("fetch metric", [&]() {
for (int i = 0; i < count; ++i) {
m[i].getValue();
}
});
}
void benchCreateAndDestroy() {
ankerl::nanobench::Bench bench;
@@ -382,6 +367,5 @@ void benchCreateAndDestroy() {
int main(void) {
benchConflictSet();
benchWorstCaseForRadixRangeRead();
benchMetrics();
benchCreateAndDestroy();
}