|
|
|
@ -30,7 +30,7 @@ Just copy the files to your build tree and use a C++11 compiler
|
|
|
|
|
Here are some [benchmarks](bench-comparison) comparing spdlog vs boost log(1.56.0) on Ubuntu 64 bits, Intel i7-4770 CPU @ 3.40GHz.
|
|
|
|
|
|
|
|
|
|
The bench writes 1000,000 log lines to a rotating log file of size 10MB with 5 back rotated files.
|
|
|
|
|
The multi threaded test uses a shared logger object across 10 threads.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### spdlog vs. boost - single thread
|
|
|
|
|
|library|log lines|threads|elapsed|
|
|
|
|
@ -41,6 +41,7 @@ The multi threaded test uses a shared logger object across 10 threads.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### spdlog vs. boost - 10 threads
|
|
|
|
|
- shared logger object across multiple threads.
|
|
|
|
|
|library|log lines|threads|elapsed|
|
|
|
|
|
|-------|:-------:|:-----:|------:|
|
|
|
|
|
|*boost*|1000,000|10|**6.592s**|
|
|
|
|
|