From 7c875a14b73d844f4f3b8390e4463610262d9415 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Wed, 11 Apr 2012 16:36:45 +0200 Subject: added FM-list (brings between 0% and 15% performance improvement) cast-optimisation programs gets a better operator= commented out segfaulting cleanup() --- synth/profile.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 synth/profile.sh (limited to 'synth/profile.sh') diff --git a/synth/profile.sh b/synth/profile.sh new file mode 100755 index 0000000..921a5d4 --- /dev/null +++ b/synth/profile.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +if [ x$1 = x ]; then + cnt=5 +else + cnt=$1 +fi + +for ((i=1;i<=$cnt;i++)); do + /usr/bin/time -p ./synth -p 0:analog.prog -i 60 -x 1000:1 -a -m 2>&1 | grep 'user ' | sed 's/user //'; + #echo "$i / $cnt done" 1>&2 +done | python avg_stddev.py -- cgit v1.2.3