2014-11-25 05:31:02 +08:00
|
|
|
Running benchmakrs (all with 1000,000 writes to the logs folder
|
|
|
|
|
|
|
|
boost-bench (single thread)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m4.779s
|
|
|
|
user 0m4.256s
|
|
|
|
sys 0m0.044s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
glog-bench (single thread)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m1.109s
|
|
|
|
user 0m0.967s
|
|
|
|
sys 0m0.140s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
g2log-bench (single thread)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
Exiting, log location: logs/g2log-bench.g2log.20141124-233419.log
|
2014-11-25 05:31:02 +08:00
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m3.155s
|
|
|
|
user 0m4.255s
|
|
|
|
sys 0m0.874s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
spdlog-bench (single thread)
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m0.947s
|
|
|
|
user 0m0.914s
|
|
|
|
sys 0m0.032s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
------------------------------------
|
|
|
|
Multithreaded benchmarks..
|
|
|
|
------------------------------------
|
|
|
|
boost-bench-mt (10 threads, single logger)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m15.151s
|
|
|
|
user 0m35.555s
|
|
|
|
sys 0m7.453s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
glog-bench-mt (10 threads, single logger)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m3.546s
|
|
|
|
user 0m9.836s
|
|
|
|
sys 0m10.985s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
g2log-bench-mt (10 threads, single logger)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
Exiting, log location: logs/g2log-bench-mt.g2log.20141124-233502.log
|
2014-11-25 05:31:02 +08:00
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m3.500s
|
|
|
|
user 0m7.671s
|
|
|
|
sys 0m1.646s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
spdlog-bench-mt (10 threads, single logger)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m1.549s
|
|
|
|
user 0m6.994s
|
|
|
|
sys 0m2.969s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
------------------------------------
|
|
|
|
Async benchmarks..
|
|
|
|
------------------------------------
|
|
|
|
spdlog-bench-async (single thread)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m1.455s
|
|
|
|
user 0m2.381s
|
|
|
|
sys 0m0.417s
|
2014-11-25 05:31:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
spdlog-bench-mt-async (10 threads, single logger)..
|
|
|
|
|
2014-11-25 05:38:58 +08:00
|
|
|
real 0m2.040s
|
|
|
|
user 0m4.076s
|
|
|
|
sys 0m2.822s
|