From 888e247c0d07f4022b1e9388db6619dc6eb2d262 Mon Sep 17 00:00:00 2001 From: Nathan Brei Date: Thu, 9 Nov 2023 16:58:46 -0500 Subject: [PATCH] PerfTests: Excise 'lightweight' benchmarker We are now using the full JBenchmarker instead. --- src/programs/perf_tests/PerfTests.cc | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/programs/perf_tests/PerfTests.cc b/src/programs/perf_tests/PerfTests.cc index bdb8cfa22..304a29ec6 100644 --- a/src/programs/perf_tests/PerfTests.cc +++ b/src/programs/perf_tests/PerfTests.cc @@ -17,25 +17,6 @@ #include -void benchmark(JApplication& app) { - - app.Run(false); - auto logger = app.GetService()->get_logger("PerfTests"); - for (int nthreads=1; nthreads<=8; nthreads*=2) { - - app.Scale(nthreads); - LOG_INFO(logger) << "Scaling to " << nthreads << " threads... (5 second warmup)" << LOG_END; - std::this_thread::sleep_for(std::chrono::seconds(5)); - - app.GetInstantaneousRate(); // Reset the clock - for (int i=0; i<15; ++i) { - std::this_thread::sleep_for(std::chrono::seconds(1)); - LOG_INFO(logger) << "Measured instantaneous rate: " << app.GetInstantaneousRate() << " Hz" << LOG_END; - } - } - app.Stop(true); -} - int main() {