epicyon/scripts/benchmarks

19 lines
429 B
Plaintext
Raw Normal View History

2019-11-15 19:25:04 +00:00
#!/bin/bash
if [ -d /etc/epicyon ]; then
cd /etc/epicyon || exit 0
else
cd /opt/epicyon || exit 0
fi
2019-11-16 10:21:59 +00:00
2019-11-16 10:14:53 +00:00
echo ''
2019-11-16 10:21:59 +00:00
echo 'Digest calculation times'
journalctl -u epicyon | grep "DIGEST|" | awk -F '|' '{print $2}' | sort -r | uniq | head -n 20
2019-11-16 11:03:02 +00:00
2019-11-16 13:25:44 +00:00
echo ''
echo 'Timings for GET'
journalctl -u epicyon -r | grep "GET TIMING|" | head -n 50
2019-11-16 11:03:02 +00:00
echo ''
echo 'Timings for POST'
2019-11-16 11:55:14 +00:00
journalctl -u epicyon -r | grep "POST TIMING|" | head -n 50