mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-26 15:39:03 +08:00
Merge branch 'master' of https://github.com/gabime/spdlog
This commit is contained in:
commit
1b66b819eb
@ -37,7 +37,7 @@ Just copy the files to your build tree and use a C++11 compiler
|
|||||||
|
|
||||||
Below are some [benchmarks](bench) comparing the time needed to log 1,000,000 lines to file under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz:
|
Below are some [benchmarks](bench) comparing the time needed to log 1,000,000 lines to file under Ubuntu 64 bit, Intel i7-4770 CPU @ 3.40GHz:
|
||||||
|
|
||||||
|threads|boost log|glog|g2log|spdlog|spdlog<sup>async mode</sup>|
|
|threads|boost log|glog|g2log|spdlog|spdlog <sup>async mode</sup>|
|
||||||
|-------|:-------:|:-----:|------:|------:|------:|
|
|-------|:-------:|:-----:|------:|------:|------:|
|
||||||
|1|4.779s|1.109s|3.155s|0.947s|1.455s
|
|1|4.779s|1.109s|3.155s|0.947s|1.455s
|
||||||
|10|15.151ss|3.546s|3.500s|1.549s|2.040s|
|
|10|15.151ss|3.546s|3.500s|1.549s|2.040s|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#~/bin/bash
|
#~/bin/bash
|
||||||
echo "Running benchmakrs (all with 1000,000 writes to the logs folder"
|
echo "Running benchmakrs (all with 1000,000 writes to the logs folder)"
|
||||||
echo
|
echo
|
||||||
echo "boost-bench (single thread).."
|
echo "boost-bench (single thread).."
|
||||||
time ./boost-bench
|
time ./boost-bench
|
||||||
|
Loading…
Reference in New Issue
Block a user