mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-09 07:50:08 +08:00
Update README.md
This commit is contained in:
parent
07bbf4423f
commit
a0673a4b86
14
README.md
14
README.md
@ -37,26 +37,12 @@ Just copy the files to your build tree and use a C++11 compiler
|
||||
|
||||
Below are some [benchmarks](benchmarks) under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz:
|
||||
|
||||
#### Single thread bench
|
||||
|library|log lines|single thread|10 threads
|
||||
|-------|:-------:|:-----:|------:|
|
||||
|*boost log v1.56*|1,000,000|**4.207s**|**6.592s**|
|
||||
|*glog v0.3.3*|1,000,000|**1.077s**|**1.678s**|
|
||||
|*spdlog*|1,000,000|**0.975s**|**0.961s**|
|
||||
|
||||
|
||||
|
||||
|
||||
#### 10 threads bench
|
||||
|library|log lines|threads|elapsed|
|
||||
|-------|:-------:|:-----:|------:|
|
||||
|*boost log v1.56*|1,000,000|10|**6.592s**|
|
||||
|*glog v0.3.3*|1,000,000|10|**1.678s**|
|
||||
|*spdlog*|1,000,000|10|**0.961s**|
|
||||
|
||||
|
||||
|
||||
|
||||
## Usage Example
|
||||
```c++
|
||||
#include <iostream>
|
||||
|
Loading…
Reference in New Issue
Block a user