mirror of https://github.com/gabime/spdlog.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
283 B
Bash
14 lines
283 B
Bash
![]()
9 years ago
|
#!/bin/bash
|
||
|
echo "running spdlog and g3log tests 10 time with ${1:-10} threads each (total 1,000,000 entries).."
|
||
|
rm -f *.log
|
||
|
for i in {1..10}
|
||
|
|
||
|
do
|
||
|
echo
|
||
|
sleep 0.5
|
||
|
./spdlog-latency ${1:-10} 2>/dev/null || exit
|
||
|
sleep 0.5
|
||
|
./g3log-latency ${1:-10} 2>/dev/null || exit
|
||
|
|
||
|
done
|