From 7708ed1a750fb3dd79fad1562f0fec8a06422339 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 Jun 2010 17:50:23 -0400 Subject: Created tools/speed-test.sh for speed testing --- tools/speed-test.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 tools/speed-test.sh (limited to 'tools/speed-test.sh') diff --git a/tools/speed-test.sh b/tools/speed-test.sh new file mode 100755 index 00000000..0139a11d --- /dev/null +++ b/tools/speed-test.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +set -e + +cd ~/src/ledger +/bin/rm -fr ~/Products/ledger/opt +./acprep --no-python -j16 opt make check + +COMMIT=$(git describe --long --all) + +SPEEDS=$(./acprep --no-python -j16 opt make speedtest 2>&1 \ + | grep "Finished executing command" \ + | awk '{print $1}' \ + | xargs) + +echo $COMMIT,$(echo $SPEEDS | sed 's/ /,/g') >> speed.log + +exit 0 -- cgit v1.2.3