mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-14 01:32:07 +08:00
upadte stats
This commit is contained in:
parent
c3dd37c8c1
commit
e2bf00ada4
14
README.md
14
README.md
@ -30,7 +30,7 @@ Very fast, header only, C++ logging library. [![Build Status](https://travis-ci.
|
|||||||
* Headers only, just copy and use.
|
* Headers only, just copy and use.
|
||||||
* Feature rich [call style](#usage-example) using the excellent [fmt](https://github.com/fmtlib/fmt) library.
|
* Feature rich [call style](#usage-example) using the excellent [fmt](https://github.com/fmtlib/fmt) library.
|
||||||
* Optional printf syntax support.
|
* Optional printf syntax support.
|
||||||
* Extremely fast asynchronous mode (optional) - using lockfree queues and other tricks to reach millions of calls/sec.
|
* Asynchronous mode (optional)
|
||||||
* [Custom](https://github.com/gabime/spdlog/wiki/3.-Custom-formatting) formatting.
|
* [Custom](https://github.com/gabime/spdlog/wiki/3.-Custom-formatting) formatting.
|
||||||
* Conditional Logging
|
* Conditional Logging
|
||||||
* Multi/Single threaded loggers.
|
* Multi/Single threaded loggers.
|
||||||
@ -54,9 +54,9 @@ Time needed to log 1,000,000 lines in synchronous mode (in seconds, the best of
|
|||||||
|
|
||||||
|threads|boost log 1.54|glog |easylogging |spdlog|
|
|threads|boost log 1.54|glog |easylogging |spdlog|
|
||||||
|-------|:-------:|:-----:|----------:|------:|
|
|-------|:-------:|:-----:|----------:|------:|
|
||||||
|1| 4.169s |1.066s |0.975s |0.302s|
|
|1| 4.169s |1.066s |0.975s |0.392s|
|
||||||
|10| 6.180s |3.032s |2.857s |0.968s|
|
|10| 6.180s |3.032s |2.857s |0.773s|
|
||||||
|100| 5.981s |1.139s |4.512s |0.497s|
|
|100| 5.981s |1.139s |4.512s |0.587s|
|
||||||
|
|
||||||
|
|
||||||
#### Asynchronous mode
|
#### Asynchronous mode
|
||||||
@ -64,9 +64,9 @@ Time needed to log 1,000,000 lines in asynchronous mode, i.e. the time it takes
|
|||||||
|
|
||||||
|threads|g2log <sup>async logger</sup> |spdlog <sup>async mode</sup>|
|
|threads|g2log <sup>async logger</sup> |spdlog <sup>async mode</sup>|
|
||||||
|:-------|:-----:|-------------------------:|
|
|:-------|:-----:|-------------------------:|
|
||||||
|1| 1.850s |0.216s |
|
|1| 1.850s |0.39s |
|
||||||
|10| 0.943s |0.173s|
|
|10| 0.943s |0.416s|
|
||||||
|100| 0.959s |0.202s|
|
|100| 0.959s |0.413s|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user