mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-15 08:25:43 +08:00
removed uneeded file
This commit is contained in:
parent
15f914f350
commit
9a7c62724a
@ -1,80 +0,0 @@
|
||||
Running benchmakrs (all with 1000,000 writes to the logs folder
|
||||
|
||||
boost-bench (single thread)..
|
||||
|
||||
real 0m4.779s
|
||||
user 0m4.256s
|
||||
sys 0m0.044s
|
||||
|
||||
|
||||
glog-bench (single thread)..
|
||||
|
||||
real 0m1.109s
|
||||
user 0m0.967s
|
||||
sys 0m0.140s
|
||||
|
||||
|
||||
g2log-bench (single thread)..
|
||||
|
||||
Exiting, log location: logs/g2log-bench.g2log.20141124-233419.log
|
||||
|
||||
real 0m3.155s
|
||||
user 0m4.255s
|
||||
sys 0m0.874s
|
||||
|
||||
|
||||
spdlog-bench (single thread)
|
||||
|
||||
real 0m0.947s
|
||||
user 0m0.914s
|
||||
sys 0m0.032s
|
||||
|
||||
|
||||
------------------------------------
|
||||
Multithreaded benchmarks..
|
||||
------------------------------------
|
||||
boost-bench-mt (10 threads, single logger)..
|
||||
|
||||
real 0m15.151s
|
||||
user 0m35.555s
|
||||
sys 0m7.453s
|
||||
|
||||
|
||||
glog-bench-mt (10 threads, single logger)..
|
||||
|
||||
real 0m3.546s
|
||||
user 0m9.836s
|
||||
sys 0m10.985s
|
||||
|
||||
|
||||
g2log-bench-mt (10 threads, single logger)..
|
||||
|
||||
Exiting, log location: logs/g2log-bench-mt.g2log.20141124-233502.log
|
||||
|
||||
real 0m3.500s
|
||||
user 0m7.671s
|
||||
sys 0m1.646s
|
||||
|
||||
|
||||
spdlog-bench-mt (10 threads, single logger)..
|
||||
|
||||
real 0m1.549s
|
||||
user 0m6.994s
|
||||
sys 0m2.969s
|
||||
|
||||
|
||||
------------------------------------
|
||||
Async benchmarks..
|
||||
------------------------------------
|
||||
spdlog-bench-async (single thread)..
|
||||
|
||||
real 0m1.455s
|
||||
user 0m2.381s
|
||||
sys 0m0.417s
|
||||
|
||||
|
||||
spdlog-bench-mt-async (10 threads, single logger)..
|
||||
|
||||
real 0m2.040s
|
||||
user 0m4.076s
|
||||
sys 0m2.822s
|
@ -2,29 +2,29 @@
|
||||
echo "Running benchmakrs (all with 1000,000 writes to the logs folder)"
|
||||
echo
|
||||
echo "boost-bench (single thread).."
|
||||
time ./boost-bench
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./boost-bench; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "glog-bench (single thread).."
|
||||
time ./glog-bench
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./glog-bench; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "g2log-bench (single thread).."
|
||||
time ./g2log-bench
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./g2log-bench; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "spdlog-bench (single thread)"
|
||||
time ./spdlog-bench
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./spdlog-bench; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
@ -32,29 +32,29 @@ echo "------------------------------------"
|
||||
echo "Multithreaded benchmarks.."
|
||||
echo "------------------------------------"
|
||||
echo "boost-bench-mt (10 threads, single logger)"..
|
||||
time ./boost-bench-mt
|
||||
rm logs/*
|
||||
for i in {1..3}; do ./boost-bench-mt; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "glog-bench-mt (10 threads, single logger)"..
|
||||
time ./glog-bench-mt
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./glog-bench-mt; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "g2log-bench-mt (10 threads, single logger)"..
|
||||
time ./g2log-bench-mt
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./g2log-bench-mt; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "spdlog-bench-mt (10 threads, single logger)"..
|
||||
time ./spdlog-bench-mt
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./spdlog-bench-mt; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
@ -64,14 +64,14 @@ echo "Async benchmarks.."
|
||||
echo "------------------------------------"
|
||||
|
||||
echo "spdlog-bench-async (single thread)"..
|
||||
time ./spdlog-bench-async
|
||||
rm logs/*
|
||||
for i in {1..3}; do time ./spdlog-bench-async; done
|
||||
rm -f logs/*
|
||||
echo
|
||||
echo
|
||||
sleep 5
|
||||
|
||||
echo "spdlog-bench-mt-async (10 threads, single logger)"..
|
||||
time ./spdlog-bench-mt-async
|
||||
for i in {1..3}; do time ./spdlog-bench-mt-async; done
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user