From 405ff5100f33caf088e2a2ba5ce7c92ba0255b86 Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 10 Feb 2015 02:02:28 +0200 Subject: [PATCH] fix bench --- bench/spdlog-async.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bench/spdlog-async.cpp b/bench/spdlog-async.cpp index 93a0ed07..7307f39c 100644 --- a/bench/spdlog-async.cpp +++ b/bench/spdlog-async.cpp @@ -19,9 +19,9 @@ int main(int argc, char* argv[]) int thread_count = 10; if(argc > 1) thread_count = atoi(argv[1]); - int howmany = 10000001; + int howmany = 1000000; - spd::set_async_mode(1048576*16, spd::async_overflow_policy::discard_log_msg); + spd::set_async_mode(1048576); auto logger = spdlog::create("file_logger", "logs/spd-bench-async.txt", false); logger->set_pattern("[%Y-%b-%d %T.%e]: %v");