aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-11-09 11:33:55 -0500
committerJesse Luehrs <doy@tozt.net>2019-11-09 14:58:57 -0500
commitff829993431c3a710169271c7ec691bc62030bc3 (patch)
tree820433cf2427cddd95170eba8137915f81185b6d /bin
parent61380c18cb66cb4e6be20fdd6fa56816cc05cc59 (diff)
downloadvt100-rust-ff829993431c3a710169271c7ec691bc62030bc3.tar.gz
vt100-rust-ff829993431c3a710169271c7ec691bc62030bc3.zip
improve benchmarks a bit more
Diffstat (limited to 'bin')
-rwxr-xr-xbin/perf2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/perf b/bin/perf
index 76bc563..93bb7b8 100755
--- a/bin/perf
+++ b/bin/perf
@@ -10,7 +10,7 @@ debug = true
EOF
fi
cargo build --release --example "$1"
-perf record -F99 --call-graph dwarf,16384 target/release/examples/"$1" --ignored > /dev/null
+time perf record -F99 --call-graph dwarf,16384 target/release/examples/"$1" --ignored > /dev/null
perf script > perf.script
perl ~/coding/src/FlameGraph/stackcollapse-perf.pl perf.script > perf.collapsed
perl ~/coding/src/FlameGraph/flamegraph.pl perf.collapsed > perf.svg