Fix warning in bench

This commit is contained in:
gabime 2019-06-07 16:39:32 +03:00
parent d1bed6bf45
commit e0b4ec54bd
1 changed files with 0 additions and 3 deletions

View File

@ -35,7 +35,6 @@ int main(int argc, char *argv[])
spdlog::default_logger()->set_pattern("[%^%l%$] %v");
int howmany = 1000000;
int queue_size = 8192;
int threads = 10;
size_t file_size = 30 * 1024 * 1024;
size_t rotating_files = 5;
@ -47,8 +46,6 @@ int main(int argc, char *argv[])
howmany = atoi(argv[1]);
if (argc > 2)
threads = atoi(argv[2]);
if (argc > 3)
queue_size = atoi(argv[3]);
spdlog::info("**************************************************************");
spdlog::info("Single thread, {:n} iterations", howmany);