Ignore:
Timestamp:
May 13, 2025, 1:17:37 PM (4 months ago)
Author:
Mike Brooks <mlbrooks@…>
Branches:
master
Children:
bd72f517
Parents:
ae0c1c3
Message:

Include benchmark changes for data production in string-plot data WIP. Missing from 2410424.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/theses/mike_brooks_MMath/benchmarks/string/make-flamegraph.sh

    rae0c1c3 r7d02d35  
    1010# $3 is coprus id  : x-100-20-1  (goes with corpusx-100-20-1.txt)
    1111
    12 SLUG=perf--$1--${2//[ .]/-}--$3
     12SLUG=perf--$1--${2//[ .]/-}--$3--`date '+%F--%H-%M-%S'`
     13benchdir=$(dirname "$0")
     14echo benchdir = $benchdir
    1315
    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`
     16perf record --call-graph dwarf -m16M $benchdir/perfexp-$1 $2 `cat $benchdir/corpus$3.txt`
    1517
    1618mv perf.data $SLUG.data
     
    1820../flamegraph/FlameGraph/stackcollapse-perf.pl $SLUG.perf > $SLUG.folded
    1921../flamegraph/FlameGraph/flamegraph.pl $SLUG.folded > $SLUG.svg
    20 cp $SLUG.svg ~/plg2/flames
     22#cp $SLUG.svg ~/plg2/flames
Note: See TracChangeset for help on using the changeset viewer.