- Timestamp:
- May 13, 2025, 1:17:37 PM (4 months ago)
- Branches:
- master
- Children:
- bd72f517
- Parents:
- ae0c1c3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/mike_brooks_MMath/benchmarks/string/make-flamegraph.sh
rae0c1c3 r7d02d35 10 10 # $3 is coprus id : x-100-20-1 (goes with corpusx-100-20-1.txt) 11 11 12 SLUG=perf--$1--${2//[ .]/-}--$3 12 SLUG=perf--$1--${2//[ .]/-}--$3--`date '+%F--%H-%M-%S'` 13 benchdir=$(dirname "$0") 14 echo benchdir = $benchdir 13 15 14 perf record --call-graph dwarf -m16M ~/plg2/cfa2/cfa-cc/tests/zombies/string-perf/perfexp-$1 $2 `cat ~/plg2/cfa2/cfa-cc/tests/zombies/string-perf/corpus$3.txt`16 perf record --call-graph dwarf -m16M $benchdir/perfexp-$1 $2 `cat $benchdir/corpus$3.txt` 15 17 16 18 mv perf.data $SLUG.data … … 18 20 ../flamegraph/FlameGraph/stackcollapse-perf.pl $SLUG.perf > $SLUG.folded 19 21 ../flamegraph/FlameGraph/flamegraph.pl $SLUG.folded > $SLUG.svg 20 cp $SLUG.svg ~/plg2/flames22 #cp $SLUG.svg ~/plg2/flames
Note:
See TracChangeset
for help on using the changeset viewer.