From 8a0b2231b17ff0c084d7319a8631a84bd89181f1 Mon Sep 17 00:00:00 2001 From: gabime Date: Mon, 31 Oct 2022 14:01:38 +0200 Subject: [PATCH] Renamed bench name --- bench/latency.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bench/latency.cpp b/bench/latency.cpp index a0a4678e..e5b61163 100644 --- a/bench/latency.cpp +++ b/bench/latency.cpp @@ -45,7 +45,6 @@ void bench_logger_fmt_string(benchmark::State &state, std::shared_ptrinfo(FMT_STRING("Hello logger: msg number {}..............."), ++i); - ; } } @@ -98,7 +97,7 @@ int main(int argc, char *argv[]) auto null_logger_st = std::make_shared("bench", std::make_shared()); benchmark::RegisterBenchmark("null_sink_st (500_bytes c_str)", bench_c_string, std::move(null_logger_st)); benchmark::RegisterBenchmark("null_sink_st", bench_logger, null_logger_st); - benchmark::RegisterBenchmark("null_sink_fmt_string", bench_logger_fmt_string, null_logger_st); + benchmark::RegisterBenchmark("null_sink_FMT_STRING", bench_logger_fmt_string, null_logger_st); // with backtrace of 64 auto tracing_null_logger_st = std::make_shared("bench", std::make_shared()); tracing_null_logger_st->enable_backtrace(64);