mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
async bench
This commit is contained in:
parent
2c854cc8b7
commit
c63e9fae9d
@ -91,7 +91,7 @@ int main(int argc, char* argv[])
|
|||||||
cout << "*******************************************************************************\n";
|
cout << "*******************************************************************************\n";
|
||||||
|
|
||||||
|
|
||||||
spdlog::set_async_mode(2500);
|
spdlog::set_async_mode(howmany);
|
||||||
auto daily_st_async = spdlog::daily_logger_st("daily_async", "logs/daily_async", auto_flush);
|
auto daily_st_async = spdlog::daily_logger_st("daily_async", "logs/daily_async", auto_flush);
|
||||||
bench_mt(howmany, daily_st_async, threads);
|
bench_mt(howmany, daily_st_async, threads);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user