mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
bench fix
This commit is contained in:
parent
bc495bbc63
commit
374a22b4b9
@ -32,8 +32,9 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, int thread_count
|
|||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
|
||||||
int queue_size = 1000000;
|
|
||||||
int howmany = 1000000;
|
int howmany = 1000000;
|
||||||
|
int queue_size = howmany + 2;
|
||||||
int threads = 10;
|
int threads = 10;
|
||||||
int file_size = 30 * 1024 * 1024;
|
int file_size = 30 * 1024 * 1024;
|
||||||
int rotating_files = 5;
|
int rotating_files = 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user