shithub: soundpipe

ref: 25a9fcc24ad00c6a406042818b9e6f2e7bba0dd1
dir: soundpipe/test/perf_test

View raw version
#/bin/sh
> time.log
for p in $*
do
    echo "testing $p"
    printf "$p " | sed "s/^p\/p_//" >> time.log
    /usr/bin/time -p ./$p 2>&1 | grep real | sed -E 's/[[:space:]]+/ /' | cut -d ' ' -f 2 >> time.log
done