mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-29 01:29:35 +08:00
updated benchmarks
This commit is contained in:
@@ -6,7 +6,7 @@ int main(int, char* [])
|
||||
{
|
||||
int howmany = 1000000;
|
||||
namespace spd = spdlog;
|
||||
spd::set_async_mode(howmany, std::chrono::seconds(0));
|
||||
spd::set_async_mode(2500, std::chrono::seconds(0));
|
||||
///Create a file rotating logger with 5mb size max and 3 rotated files
|
||||
auto logger = spd::rotating_logger_mt("file_logger", "logs/spd-sample", 10 *1024 * 1024 , 5);
|
||||
|
||||
|
Reference in New Issue
Block a user