mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 16:35:45 +08:00
fixed latency test
This commit is contained in:
parent
8baa8cf8ea
commit
60ca07c2d5
@ -32,7 +32,7 @@ void bench_mt(int howmany, std::shared_ptr<spdlog::logger> log, int thread_count
|
|||||||
int main(int , char *[])
|
int main(int , char *[])
|
||||||
{
|
{
|
||||||
std::srand(std::time(nullptr)); // use current time as seed for random generator
|
std::srand(std::time(nullptr)); // use current time as seed for random generator
|
||||||
int howmany = 10000;
|
int howmany = 1000000;
|
||||||
int queue_size = howmany + 2;
|
int queue_size = howmany + 2;
|
||||||
int threads = 10;
|
int threads = 10;
|
||||||
int file_size = 30 * 1024 * 1024;
|
int file_size = 30 * 1024 * 1024;
|
||||||
|
Loading…
Reference in New Issue
Block a user