Author: Remi Meier <[email protected]>
Branch: extradoc
Changeset: r5271:600522f52bfd
Date: 2014-05-27 11:05 +0200
http://bitbucket.org/pypy/extradoc/changeset/600522f52bfd/

Log:    add plot to paper

diff --git a/talk/dls2014/paper/paper.tex b/talk/dls2014/paper/paper.tex
--- a/talk/dls2014/paper/paper.tex
+++ b/talk/dls2014/paper/paper.tex
@@ -991,6 +991,13 @@
 
 maybe some memory usage graph over time
 
+\begin{figure}[h]
+  \centering
+  \includegraphics[width=1\columnwidth]{plots/richards_mem.pdf}
+  \caption{Actual memory managed by the GC and resident set size
+    over time in Richards benchmark\label{fig:richards_mem}}
+\end{figure}
+
 
 \subsection{Overhead Breakdown}
 
diff --git a/talk/dls2014/paper/plots/plot_richards_mem.py 
b/talk/dls2014/paper/plots/plot_richards_mem.py
--- a/talk/dls2014/paper/plots/plot_richards_mem.py
+++ b/talk/dls2014/paper/plots/plot_richards_mem.py
@@ -44,7 +44,8 @@
 
 
 def plot_mems(ax):
-    ax.plot(xs, y1s, '-+', label="Memory")
+    ax.plot(xs, y1s, '-o', label="GC managed memory",
+            ms=2)
     ax.plot(x2s, y2s, '-x', label="Resident Set Size (RSS)")
 
 
@@ -74,7 +75,7 @@
     # axs[0].xaxis.set_major_formatter(major_formatter)
 
     legend = ax.legend(loc=5)
-    ax.set_title("Memory Usage in Richards")
+    #ax.set_title("Memory Usage in Richards")
 
     plt.draw()
     #plt.show()
diff --git a/talk/dls2014/paper/plots/richards_mem.pdf 
b/talk/dls2014/paper/plots/richards_mem.pdf
index 
be2b698520270732815dd7b2b21107e8807d9774..138f5784e44512fef2911dbf52122be8a88d49bd
GIT binary patch

[cut]

_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to