From 6051b2fb2e5045bfde727955e2d9808cdb73d78c Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Fri, 19 Jul 2024 11:24:01 -0700 Subject: [PATCH] Remove benchMetrics It's not all that interesting in the end --- Bench.cpp | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/Bench.cpp b/Bench.cpp index ac2cca2..65da971 100644 --- a/Bench.cpp +++ b/Bench.cpp @@ -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(); }