Update README.md

This commit is contained in:
Gabi Melman 2014-11-04 01:48:28 +02:00
parent 8b587b6ff2
commit 426b083af3

View File

@ -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**|