updated benchmarks

This commit is contained in:
gabime
2014-11-24 23:31:02 +02:00
parent 54b868122d
commit def6fc62f4
6 changed files with 108 additions and 15 deletions

View File

@@ -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);