1 | # set terminal pdfcairo size 6,3
|
---|
2 | # BUILD = "build/"
|
---|
3 | set terminal pslatex size 6.25,2.5 color solid
|
---|
4 |
|
---|
5 | set datafile separator ","
|
---|
6 |
|
---|
7 | tests = "io1 io2 math1 math2 math3 math4 minmax rational searchsort swap kernel preemption imgui"
|
---|
8 |
|
---|
9 | # BY DEPTH #
|
---|
10 | set output BUILD."per-prob-depth.tex"
|
---|
11 |
|
---|
12 | set xlabel "max depth"
|
---|
13 | set ylabel "runtime (ms)"
|
---|
14 | set logscale xy
|
---|
15 |
|
---|
16 | set key outside
|
---|
17 |
|
---|
18 | plot for [i=1:words(tests)] 'evaluation/per_prob/'.word(tests, i).'-per-prob.csv' using 2:(column(7)/1000) title word(tests, i)
|
---|
19 |
|
---|
20 | # # BY PARAMETER LIST WIDTH #
|
---|
21 | # set output BUILD."per-prob-params.pdf"
|
---|
22 |
|
---|
23 | # set xlabel "max params"
|
---|
24 |
|
---|
25 | # plot for [i=1:words(tests)] 'evaluation/per_prob/'.word(tests, i).'-per-prob.csv' using 3:(column(7)/1000) title word(tests, i)
|
---|
26 |
|
---|
27 | # BY SUBEXPRS #
|
---|
28 | set output BUILD."per-prob-subs.tex"
|
---|
29 |
|
---|
30 | set xlabel "number of subexpressions"
|
---|
31 |
|
---|
32 | plot for [i=1:words(tests)] 'evaluation/per_prob/'.word(tests, i).'-per-prob.csv' using 4:(column(7)/1000) title word(tests, i)
|
---|
33 |
|
---|
34 | # # BY MAX OVERLOADS #
|
---|
35 | # set output BUILD."per-prob-overloads.pdf"
|
---|
36 |
|
---|
37 | # set xlabel "max name overloads"
|
---|
38 |
|
---|
39 | # plot for [i=1:words(tests)] 'evaluation/per_prob/'.word(tests, i).'-per-prob.csv' using 5:(column(7)/1000) title word(tests, i)
|
---|
40 |
|
---|
41 | # BY ASSERTIONS #
|
---|
42 | set output BUILD."per-prob-assns.tex"
|
---|
43 |
|
---|
44 | set xlabel "assertions satisfied"
|
---|
45 |
|
---|
46 | plot for [i=1:words(tests)] 'evaluation/per_prob/'.word(tests, i).'-per-prob.csv' using 6:(column(7)/1000) title word(tests, i)
|
---|
47 |
|
---|