Update README.md

This commit is contained in:
Gabi Melman 2014-11-23 01:01:07 +02:00
parent 07bbf4423f
commit a0673a4b86

View File

@ -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: 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 |library|log lines|single thread|10 threads
|-------|:-------:|:-----:|------:| |-------|:-------:|:-----:|------:|
|*boost log v1.56*|1,000,000|**4.207s**|**6.592s**| |*boost log v1.56*|1,000,000|**4.207s**|**6.592s**|
|*glog v0.3.3*|1,000,000|**1.077s**|**1.678s**| |*glog v0.3.3*|1,000,000|**1.077s**|**1.678s**|
|*spdlog*|1,000,000|**0.975s**|**0.961s**| |*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 ## Usage Example
```c++ ```c++
#include <iostream> #include <iostream>