shithub: soundpipe

ref: 7e4b22f0fb9ceac0b49f9720ae37ff988a31e7bb
dir: /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