Publishing tests.png and flamegraph.svg
gitea.matetelki.eu/performance_measuring/master There was a failure building this commit
Details
gitea.matetelki.eu/performance_measuring/master There was a failure building this commit
Details
parent
d86775473f
commit
4d432b42d4
@ -1,9 +1,9 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
|
|
||||||
# Don't forget to :
|
# Don't forget to allow perf record run as user:
|
||||||
# sudo bash -c "echo 0 > /proc/sys/kernel/perf_event_paranoid"
|
# sudo bash -c "echo 0 > /proc/sys/kernel/perf_event_paranoid"
|
||||||
|
|
||||||
perf record -F 20000 -g ./performance_measuring
|
perf record -F 20000 -g ./performance_measuring
|
||||||
perf script > out.perf
|
perf script > out.perf
|
||||||
./FlameGraph/stackcollapse-perf.pl out.perf > out.folded
|
./FlameGraph/stackcollapse-perf.pl --all out.perf > out.folded
|
||||||
./FlameGraph/flamegraph.pl out.folded > flamegraph.svg
|
./FlameGraph/flamegraph.pl out.folded > flamegraph.svg
|
||||||
|
Loading…
Reference in new issue