Mercurial > hg > silvet
view testdata/timing/run-for-revision.sh @ 327:df9a8e16bae6 livemode-octave-higher
Experiment with dropping the bottom octave off each template (since most of the information is in higher harmonics anyway!) -- this is about 15% faster again and has half the latency, but per
author | Chris Cannam |
---|---|
date | Tue, 19 May 2015 09:29:00 +0100 |
parents | 03fbd6a204fd |
children |
line wrap: on
line source
#!/bin/sh revision="$1" if [ -z "$revision" ]; then echo "Usage: run-for-revision.sh <hg-revision-id>" exit 2 fi tmppath="../../../silvet-hg-$revision-$$" echo echo "Running timing and validation test script for revision $revision..." echo echo "Cloning into $tmppath..." hg clone -r"$revision" ../.. "$tmppath" || exit 1 echo echo "Building..." ( cd "$tmppath" && make -f Makefile.linux ) || exit 1 echo echo "Copying plugin to local directory..." cp "$tmppath"/silvet.so ../.. || exit 1 rm -r "$tmppath" echo echo "Running timing and evaluation script..." ./run.sh echo echo "Done, for revision $revision"