diff --git a/icfp-2016/Makefile b/icfp-2016/Makefile index af6a0f2..da3b672 100644 --- a/icfp-2016/Makefile +++ b/icfp-2016/Makefile @@ -6,7 +6,7 @@ compiled/paper_scrbl.zo: *.rkt *.scrbl raco make -v $(PAPER).scrbl paper.pdf: pkg compiled/paper_scrbl.zo texstyle.tex - scribble ++extra fig-stxclass.tex ++extra fig-stats.tex ++extra fig-staging.tex ++style texstyle.tex --pdf $(PAPER).scrbl + scribble ++extra fig-experience.tex ++extra fig-stxclass.tex ++extra fig-stats.tex ++extra fig-staging.tex ++style texstyle.tex --pdf $(PAPER).scrbl paper.tex: pkg compiled/paper_scrbl.zo texstyle.tex scribble ++style texstyle.tex --latex $(PAPER).scrbl diff --git a/icfp-2016/fig-experience.tex b/icfp-2016/fig-experience.tex new file mode 100644 index 0000000..452aafa --- /dev/null +++ b/icfp-2016/fig-experience.tex @@ -0,0 +1,18 @@ +%% NOTE did not change definition sites to use :, +%% could not define without : +%% so the only overhead is additional macro dispatch + +\newcommand{\diff}[2]{{\tt +#1 / -#2 }} +\newcommand{\pct}[1]{#1\%} +\begin{center} +\begin{tabular}{l r r r r r} + Program & LOC & Diff & Compile Time & Bytecode Size & Run Time \\\hline + \mod{fsm} & 253 & \diff{9}{4} & \pct{-0.19} & \pct{1.98} & \pct{10.27} \\ + \mod{gregor} & 1118 & \diff{28}{11} & \pct{7.4} & \pct{1.52} & \pct{8.82} \\ + \mod{hyphenate} & 252 & \diff{8}{4} & \pct{5.38} & \pct{0.08} & \pct{11.07} \\ + \mod{morsecode} & 246 & \diff{5}{2} & \pct{7.31} & \pct{1.22} & \pct{10.42} \\ + \mod{suffixtree} & 637 & \diff{7}{0} & \pct{7.7} & \pct{1.1} & \pct{6.55} \\ + \mod{synth} & 941 & \diff{12}{3} & \pct{7.6} & \pct{1.06} & \pct{45.6} \\ + \mod{tex} & 491 & \diff{15}{20} & \pct{3.18} & \pct{-1.02} & \pct{19.72} \\ +\end{tabular} +\end{center}