source: trunk/stridetune-bench.ba.sh

Last change on this file was 307b550, checked in by Ramakrishnan Muthukrishnan <ram@…>, 9 years ago

zfec: rearrange files

  • Property mode set to 100755
File size: 479 bytes
Line 
1#!/bin/bash
2
3/bin/rm -rf ./benchresults
4mkdir benchresults
5STRIDE=32
6while [ $(( $STRIDE < 32769 )) ] ; do
7    /bin/rm -rf build
8    rm zfec/_fec.so
9    /bin/rm -rf instdir
10    mkdir instdir
11    PYTHONPATH=instdir ./setup.py develop --install-dir=instdir --stride=${STRIDE} >/dev/null
12    echo $STRIDE
13    PYTHONPATH=instdir python -OO ./bench/bench_zfec.py >> benchresults/comp_0-stride_$STRIDE
14    tail -1 benchresults/comp_0-stride_$STRIDE
15    STRIDE=$(( $STRIDE + 32 ))
16done
Note: See TracBrowser for help on using the repository browser.