File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,19 @@ function perf {
6666 cp profile.js " $REPORTDIR " /profile.js
6767}
6868
69- for cmd in $@ ; do
70- echo " Running $cmd "
71- $cmd
72- done
69+ function bench {
70+ racket -y time.rkt --dir " $REPORTDIR " --profile profile.json --id $id
71+ python3 infra/ratio_plot.py -t " $REPORTDIR " /timeline.json -o " $REPORTDIR " /ratio_plot.png
72+ python3 infra/point_graph.py -t " $REPORTDIR " /timeline.json -o " $REPORTDIR " /point_graph.png
73+ python3 infra/histograms.py -t " $REPORTDIR " /timeline.json -o1 " $REPORTDIR " /histogram_valid.png -o2 " $REPORTDIR " /histogram_all.png
74+ cp profile.json " $REPORTDIR " /profile.json
75+ cp profile.js " $REPORTDIR " /profile.js
76+ }
77+
78+ echo " Running $1 "
79+
80+ if [ " $2 " ]; then
81+ id=$2
82+ fi
83+
84+ $1
You can’t perform that action at this time.
0 commit comments