[pypy-commit] extradoc extradoc: include barplot in paper

hakanardo noreply at buildbot.pypy.org
Fri Aug 17 12:21:07 CEST 2012


Author: Hakan Ardo <hakan at debian.org>
Branch: extradoc
Changeset: r4662:4d232595487f
Date: 2012-08-17 12:18 +0200
http://bitbucket.org/pypy/extradoc/changeset/4d232595487f/

Log:	include barplot in paper

diff --git a/talk/dls2012/benchmarks/parse.py b/talk/dls2012/benchmarks/parse.py
--- a/talk/dls2012/benchmarks/parse.py
+++ b/talk/dls2012/benchmarks/parse.py
@@ -74,7 +74,7 @@
         legend[0].insert(0, r[0])
         legend[1].insert(0, l)
     plt.yticks(x + 0.5 + width, sorted(res.keys()))
-    plt.subplots_adjust(left=0.35, right=0.95, top=0.9, bottom=0.1)
+    plt.subplots_adjust(left=0.35, right=0.95, top=0.99, bottom=0.02)
     plt.legend(*legend)
     plt.ylim((0, len(res)+0.5))
     #plt.show()
diff --git a/talk/dls2012/benchmarks/result.pdf b/talk/dls2012/benchmarks/result.pdf
index 04663a3061886e439b13d1d892f207a5eefe081d..67365373d6906358d1761991a0c7665a93c8213e
GIT binary patch

[cut]

diff --git a/talk/dls2012/licm.pdf b/talk/dls2012/licm.pdf
index 255bf8b7c69d7d4f3312c2829bafbe0269cd4264..e885df70f7fcf9d5e80cc92d739f33104c1a51d9
GIT binary patch

[cut]

diff --git a/talk/dls2012/paper.tex b/talk/dls2012/paper.tex
--- a/talk/dls2012/paper.tex
+++ b/talk/dls2012/paper.tex
@@ -956,10 +956,18 @@
 name of each benchmark and the values of the benchmark parameters used. The different benchmarks and the meaning of their parameters are described in Section~\ref{sec:benchmarks}.}
 \end{figure*}
 
+\begin{figure}
+\begin{center}
+\includegraphics[width=0.5\textwidth]{benchmarks/result.pdf}
+\label{fig:benchmarks_plot}
+\caption{Benchmark results normalized with the runtime of the C version. The CPython results have been omitted to make the plot readable.}
+\end{center}
+\end{figure}
+
 The Python interpreter of the RPython framework is a complete Python
 version 2.7 compatible interpreter. A set of numerical
 calculations were implemented in both Python, C and Lua and their
-runtimes are compared in Figure~\ref{fig:benchmarks}.\footnote{
+runtimes are compared in Figuare~\ref{fig:benchmarks_plot} and Figure~\ref{fig:benchmarks}.\footnote{
     The benchmarks and the scripts to run them can be found in the repository for this paper:
     \texttt{https://bitbucket.org/pypy/extradoc/src/ tip/talk/dls2012/benchmarks}
 }


More information about the pypy-commit mailing list