mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
Update README.md
This commit is contained in:
parent
be4700cbd2
commit
443e641c81
@ -32,17 +32,17 @@ 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 multi threaded test uses a shared logger object across 10 threads.
|
||||
|
||||
##### spdlog vs boost - Single threaded benchmark
|
||||
#### spdlog vs boost - Single threaded benchmark
|
||||
|library|log lines|threads|elapsed|
|
||||
|-------|:-------:|:-----:|------:|
|
||||
|*boost*|1000,000|1|**4.207s**|
|
||||
|*spdlog*|1000,000|1|**0.975s**|
|
||||
|
||||
##### spdlog vs boost - Multi threaded threaded benchmark
|
||||
#### spdlog vs boost - Multi threaded threaded benchmark
|
||||
|library|log lines|threads|elapsed|
|
||||
|-------|:-------:|:-----:|------:|
|
||||
|*boost*|1000,000|10|**6.592s**|
|
||||
|*spdlog log*|1000,000|10|**0.961s**|
|
||||
|*spdlog*|1000,000|10|**0.961s**|
|
||||
|
||||
|
||||
## Usage Example
|
||||
|
Loading…
Reference in New Issue
Block a user