2014-11-04 07:02:17 +08:00
|
|
|
#~/bin/bash
|
|
|
|
echo "Running benchmakrs (all with 1000,000 writes to the logs folder"
|
|
|
|
echo
|
|
|
|
echo "boost-bench (single thread).."
|
|
|
|
time ./boost-bench
|
2014-11-24 08:15:17 +08:00
|
|
|
echo
|
|
|
|
echo
|
2014-11-23 06:24:46 +08:00
|
|
|
sleep 3
|
2014-11-24 08:44:45 +08:00
|
|
|
|
2014-11-23 06:24:46 +08:00
|
|
|
echo "glog-bench (single thread).."
|
|
|
|
time ./glog-bench
|
2014-11-24 08:15:17 +08:00
|
|
|
echo
|
|
|
|
echo
|
2014-11-23 06:24:46 +08:00
|
|
|
sleep 3
|
2014-11-24 08:44:45 +08:00
|
|
|
|
|
|
|
echo "g2log-bench (single thread).."
|
|
|
|
time ./g2log-bench
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
sleep 3
|
|
|
|
|
2014-11-04 07:02:17 +08:00
|
|
|
echo "spdlog-bench (single thread)"
|
|
|
|
time ./spdlog-bench
|
2014-11-24 08:15:17 +08:00
|
|
|
echo
|
|
|
|
echo
|
2014-11-23 06:24:46 +08:00
|
|
|
sleep 3
|
2014-11-24 08:44:45 +08:00
|
|
|
|
2014-11-04 07:02:17 +08:00
|
|
|
echo "boost-bench-mt (10 threads, single logger)"..
|
|
|
|
time ./boost-bench-mt
|
2014-11-24 08:15:17 +08:00
|
|
|
echo
|
|
|
|
echo
|
2014-11-23 06:24:46 +08:00
|
|
|
sleep 3
|
2014-11-24 08:44:45 +08:00
|
|
|
|
2014-11-23 06:24:46 +08:00
|
|
|
echo "glog-bench-mt (10 threads, single logger)"..
|
|
|
|
time ./glog-bench-mt
|
2014-11-24 08:15:17 +08:00
|
|
|
echo
|
|
|
|
echo
|
2014-11-23 06:24:46 +08:00
|
|
|
sleep 3
|
2014-11-24 08:44:45 +08:00
|
|
|
|
|
|
|
echo "g2log-bench-mt (10 threads, single logger)"..
|
|
|
|
time ./g2log-bench-mt
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
sleep 3
|
|
|
|
|
2014-11-04 07:02:17 +08:00
|
|
|
echo "spdlog-bench-mt (10 threads, single logger)"..
|
|
|
|
time ./spdlog-bench-mt
|
|
|
|
echo
|
2014-11-24 08:15:17 +08:00
|
|
|
echo
|
|
|
|
sleep 3
|
2014-11-24 08:44:45 +08:00
|
|
|
|
2014-11-24 08:15:17 +08:00
|
|
|
echo "spdlog-bench-mt-async (10 threads, single logger)"..
|
|
|
|
time ./spdlog-bench-mt-async
|
|
|
|
|
2014-11-04 07:02:17 +08:00
|
|
|
|
|
|
|
|