ref: 6f50522ff66bbebd9d899f71b6da71288c0a8d0d
dir: /test/perf_test/
#/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