mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 17:41:34 +08:00
run script
This commit is contained in:
parent
e83bf08d74
commit
5d3025322f
22
bench-comparison/run_all.sh
Executable file
22
bench-comparison/run_all.sh
Executable file
@ -0,0 +1,22 @@
|
||||
#~/bin/bash
|
||||
echo "Running benchmakrs (all with 1000,000 writes to the logs folder"
|
||||
echo
|
||||
echo "boost-bench (single thread).."
|
||||
time ./boost-bench
|
||||
echo ==================================
|
||||
sleep 1
|
||||
echo "spdlog-bench (single thread)"
|
||||
time ./spdlog-bench
|
||||
echo ==================================
|
||||
sleep 1
|
||||
echo "boost-bench-mt (10 threads, single logger)"..
|
||||
time ./boost-bench-mt
|
||||
echo ==================================
|
||||
sleep 1
|
||||
echo "spdlog-bench-mt (10 threads, single logger)"..
|
||||
time ./spdlog-bench-mt
|
||||
echo ==================================
|
||||
sleep 1
|
||||
echo
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user