mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Update README.md
This commit is contained in:
parent
8b587b6ff2
commit
426b083af3
@ -32,13 +32,13 @@ Here are some [benchmarks](bench-comparison) comparing spdlog vs boost log(1.56.
|
|||||||
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.
|
The multi threaded test uses a shared logger object across 10 threads.
|
||||||
|
|
||||||
#### spdlog vs boost - Single threaded benchmark
|
#### spdlog vs boost - Single threaded
|
||||||
|library|log lines|threads|elapsed|
|
|library|log lines|threads|elapsed|
|
||||||
|-------|:-------:|:-----:|------:|
|
|-------|:-------:|:-----:|------:|
|
||||||
|*boost*|1000,000|1|**4.207s**|
|
|*boost*|1000,000|1|**4.207s**|
|
||||||
|*spdlog*|1000,000|1|**0.975s**|
|
|*spdlog*|1000,000|1|**0.975s**|
|
||||||
|
|
||||||
#### spdlog vs boost - Multi threaded threaded benchmark
|
#### spdlog vs boost - Multi threaded threaded
|
||||||
|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