Skip to content
Snippets Groups Projects
Commit 83f9fd97 authored by Saif Eddine Askri's avatar Saif Eddine Askri
Browse files

Add script to start server and create flame graph with performance profiling

parent 65c014bf
Branches
No related tags found
No related merge requests found
File mode changed from 100644 to 100755
#!/bin/bash
FREQUENCY=$1
FREQUENCY=${1:-99}
perf record -g -F$FREQUENCY ./build/src/myserver
perf script | /usr/local/FlameGraph/stackcollapse-perf.pl | /usr/local/FlameGraph/flamegraph.pl > serverFlameGraph.svg
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment