mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-13 01:10:26 +08:00
Update README.md
This commit is contained in:
parent
a7937af5b6
commit
3fd55537bf
@ -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.
|
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 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
|
#### spdlog vs. boost - single thread
|
||||||
|library|log lines|threads|elapsed|
|
|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
|
#### spdlog vs. boost - 10 threads
|
||||||
|
- shared logger object across multiple threads.
|
||||||
|library|log lines|threads|elapsed|
|
|library|log lines|threads|elapsed|
|
||||||
|-------|:-------:|:-----:|------:|
|
|-------|:-------:|:-----:|------:|
|
||||||
|*boost*|1000,000|10|**6.592s**|
|
|*boost*|1000,000|10|**6.592s**|
|
||||||
|
Loading…
Reference in New Issue
Block a user