Skip to content
Snippets Groups Projects
Commit 7a044d56 authored by Hans-Peter Deifel's avatar Hans-Peter Deifel :turtle:
Browse files

benchmarks: Save full 'perf stat' output

who knows if we might need it
parent 10b7fc02
No related branches found
No related tags found
No related merge requests found
......@@ -52,7 +52,7 @@ mkdir -p "${OUTPUT_BASE}"
function bench {
i=1
while timeout ${TIMEOUT} perf stat -o "${OUTPUT_BASE}/tmp.time" -r ${REPEATS} -n "$2" "$3" "$i" "${@:4}" > "${OUTPUT_BASE}/tmp.out" 2>&1; do
while timeout ${TIMEOUT} perf stat -o "${OUTPUT_BASE}/tmp.time" -r ${REPEATS} "$2" "$3" "$i" "${@:4}" > "${OUTPUT_BASE}/tmp.out" 2>&1; do
mv "${OUTPUT_BASE}/tmp.time" "${OUTPUT_BASE}/${FORMULA}-${i}-${1}.time";
mv "${OUTPUT_BASE}/tmp.out" "${OUTPUT_BASE}/${FORMULA}-${i}-${1}.out";
i=$(($i+1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment