Commit 087316e2 authored by Kevin Modzelewski's avatar Kevin Modzelewski

Simple tool to help with multiple perf runs

parent ef27d6cb
#!/bin/sh
set -e
if [ "$#" -eq 0 ] ; then
echo "Usage: perf_collect.sh [commands to run benchmark]"
exit 1
fi
perf record -o $1.data -g -- $@
perf report -i $1.data -n --no-call-graph | bash tools/cumulate.sh > $1.txt
echo "Report saved in $1.txt (raw perf data saved in $1.data)"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment