We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc72cb9 commit c66e7b0Copy full SHA for c66e7b0
bench/b-vs-spdlog.cpp
@@ -122,7 +122,8 @@ void jalog_mt(picobench::state& s) {
122
PICOBENCH(jalog_mt);
123
124
void spdlog_mt(picobench::state& s) {
125
- auto sink = std::make_shared<SpdlogHashingSink<std::mutex>>();
+ //auto sink = std::make_shared<SpdlogHashingSink<std::mutex>>();
126
+ auto sink = std::make_shared<SpdlogHashingSink<spdlog::details::null_mutex>>();
127
spdlog::init_thread_pool(s.iterations(), 1);
128
auto logger = std::make_shared<spdlog::async_logger>("mt", sink, spdlog::thread_pool());
129
0 commit comments