Author: Carl Friedrich Bolz <[email protected]> Branch: extradoc Changeset: r4469:330a556eb311 Date: 2012-08-08 09:52 +0200 http://bitbucket.org/pypy/extradoc/changeset/330a556eb311/
Log: a very preliminary attempt at a figure for vizualizing resume data diff --git a/talk/vmil2012/figures/resume_data.pdf b/talk/vmil2012/figures/resume_data.pdf new file mode 100644 index 0000000000000000000000000000000000000000..854f46a0a840d47ec690bca74346e38f113ab62a GIT binary patch [cut] diff --git a/talk/vmil2012/figures/resume_data.svg b/talk/vmil2012/figures/resume_data.svg new file mode 100644 --- /dev/null +++ b/talk/vmil2012/figures/resume_data.svg @@ -0,0 +1,380 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="875.383" + height="592.59644" + id="svg2" + version="1.1" + inkscape:version="0.48.3.1 r9886" + sodipodi:docname="resume_data.pdf"> + <defs + id="defs4"> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend" + style="overflow:visible"> + <path + id="path3837" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" + inkscape:connector-curvature="0" /> + </marker> + <marker + inkscape:stockid="Arrow1Lend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Lend" + style="overflow:visible"> + <path + id="path3831" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.8,0,0,-0.8,-10,0)" + inkscape:connector-curvature="0" /> + </marker> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend-9" + style="overflow:visible"> + <path + inkscape:connector-curvature="0" + id="path3837-3" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + </marker> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend-7" + style="overflow:visible"> + <path + inkscape:connector-curvature="0" + id="path3837-34" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + </marker> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend-98" + style="overflow:visible"> + <path + inkscape:connector-curvature="0" + id="path3837-2" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + </marker> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend-0" + style="overflow:visible"> + <path + inkscape:connector-curvature="0" + id="path3837-9" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + </marker> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend-72" + style="overflow:visible"> + <path + inkscape:connector-curvature="0" + id="path3837-8" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + </marker> + <marker + inkscape:stockid="Arrow1Mend" + orient="auto" + refY="0" + refX="0" + id="Arrow1Mend-6" + style="overflow:visible"> + <path + inkscape:connector-curvature="0" + id="path3837-85" + d="M 0,0 5,-5 -12.5,0 5,5 0,0 z" + style="fill-rule:evenodd;stroke:#000000;stroke-width:1pt" + transform="matrix(-0.4,0,0,-0.4,-4,0)" /> + </marker> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="1" + inkscape:cx="423.93457" + inkscape:cy="164.98646" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1680" + inkscape:window-height="1026" + inkscape:window-x="0" + inkscape:window-y="24" + inkscape:window-maximized="1" + fit-margin-top="4" + fit-margin-left="4" + fit-margin-right="4" + fit-margin-bottom="4" /> + <metadata + id="metadata7"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:title></dc:title> + </cc:Work> + </rdf:RDF> + </metadata> + <g + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + transform="translate(162.44939,-102.66497)"> + <g + id="g3159"> + <rect + y="108.07647" + x="95.714287" + height="122.38531" + width="252.85715" + id="rect2985" + style="fill:none;stroke:#000000;stroke-width:2.82299066;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <text + sodipodi:linespacing="125%" + id="text3755" + y="159.38733" + x="107.58125" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" + xml:space="preserve"><tspan + y="159.38733" + x="107.58125" + id="tspan3757" + sodipodi:role="line">build</tspan><tspan + style="font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono" + id="tspan3759" + y="209.38733" + x="107.58125" + sodipodi:role="line">n = i_5</tspan></text> + </g> + <g + id="g3165"> + <rect + y="288.07648" + x="95.714287" + height="173.62556" + width="252.85715" + id="rect2985-4" + style="fill:none;stroke:#000000;stroke-width:3.36241746;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <text + sodipodi:linespacing="125%" + id="text3755-9" + y="339.38733" + x="107.58125" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" + xml:space="preserve"><tspan + y="339.38733" + x="107.58125" + id="tspan3757-8" + sodipodi:role="line">even</tspan><tspan + style="font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono" + id="tspan3759-3" + y="389.38733" + x="107.58125" + sodipodi:role="line">n = i_5</tspan><tspan + id="tspan3788" + style="font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono" + y="439.38733" + x="107.58125" + sodipodi:role="line">self =</tspan></text> + </g> + <g + id="g3172"> + <rect + y="515.95465" + x="95.714287" + height="173.62556" + width="252.85715" + id="rect2985-4-0" + style="fill:none;stroke:#000000;stroke-width:3.36241746;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <text + sodipodi:linespacing="125%" + id="text3755-9-7" + y="567.2655" + x="107.58125" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" + xml:space="preserve"><tspan + y="567.2655" + x="107.58125" + id="tspan3757-8-3" + sodipodi:role="line">f</tspan><tspan + style="font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono" + id="tspan3759-3-2" + y="617.2655" + x="107.58125" + sodipodi:role="line">j = j_2</tspan><tspan + id="tspan3788-1" + style="font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono" + y="667.2655" + x="107.58125" + sodipodi:role="line">a =</tspan></text> + </g> + <path + style="color:#000000;fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 222.14286,230.46178 0,57.6147" + id="path3822" + inkscape:connector-type="polyline" + inkscape:connector-curvature="0" + inkscape:connection-start="#rect2985" + inkscape:connection-start-point="d4" + inkscape:connection-end="#rect2985-4" + inkscape:connection-end-point="d4" /> + <path + style="color:#000000;fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;stroke-dashoffset:0;marker:none;marker-end:url(#Arrow1Mend);visibility:visible;display:inline;overflow:visible;enable-background:accumulate" + d="m 222.14286,461.70204 0,54.25261" + id="path4268" + inkscape:connector-type="polyline" + inkscape:connector-curvature="0" + inkscape:connection-start="#rect2985-4" + inkscape:connection-start-point="d4" + inkscape:connection-end="#rect2985-4-0" + inkscape:connection-end-point="d4" /> + <g + id="g3184"> + <text + sodipodi:linespacing="125%" + id="text4833" + y="159.38744" + x="-160.69548" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" + xml:space="preserve"><tspan + y="159.38744" + x="-160.69548" + id="tspan4835" + sodipodi:role="line">Guard 5</tspan></text> + <path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path4839" + d="m -0.50507629,145.62844 95.33314629,0" + style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)" /> + </g> + <g + id="g3179"> + <text + sodipodi:linespacing="125%" + id="text4833-9" + y="339.91516" + x="-160.69548" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" + xml:space="preserve"><tspan + y="339.91516" + x="-160.69548" + id="tspan4835-7" + sodipodi:role="line">Guard 4</tspan></text> + <path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path4839-4" + d="m -0.50508,326.15599 95.33315,0" + style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)" /> + </g> + <flowRoot + xml:space="preserve" + id="flowRoot3113" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion + id="flowRegion3115"><rect + id="rect3117" + width="489.92398" + height="235.36554" + x="-66.670067" + y="502.8392" /></flowRegion><flowPara + id="flowPara3119"></flowPara></flowRoot> <flowRoot + xml:space="preserve" + id="flowRoot3151" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"><flowRegion + id="flowRegion3153"><rect + id="rect3155" + width="533.36053" + height="340.42142" + x="400.02042" + y="415.96606" /></flowRegion><flowPara + id="flowPara3157"></flowPara></flowRoot> <g + transform="translate(320,407.62528)" + id="g3159-0"> + <rect + y="108.07647" + x="95.714287" + height="122.38531" + width="291.70328" + id="rect2985-0" + style="fill:none;stroke:#000000;stroke-width:3.03209281;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" /> + <text + sodipodi:linespacing="125%" + id="text3755-1" + y="159.38733" + x="107.58125" + style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans" + xml:space="preserve"><tspan + y="159.38733" + x="107.58125" + id="tspan3757-82" + sodipodi:role="line">virtual A</tspan><tspan + style="font-family:DejaVu Sans Mono;-inkscape-font-specification:DejaVu Sans Mono" + id="tspan3759-1" + y="209.38733" + x="107.58125" + sodipodi:role="line">value = i_2</tspan></text> + </g> + <path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path4839-4-6" + d="m 215.86914,653.79075 c 105.84873,-5.92651 149.81083,-41.4899 198.19029,-109.28571" + style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)" /> + <path + sodipodi:nodetypes="cc" + inkscape:connector-curvature="0" + id="path4839-4-6-6" + d="m 285.57399,428.28331 127.11886,85.7143" + style="fill:none;stroke:#000000;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none;marker-end:url(#Arrow1Mend)" /> + </g> +</svg> diff --git a/talk/vmil2012/paper.tex b/talk/vmil2012/paper.tex --- a/talk/vmil2012/paper.tex +++ b/talk/vmil2012/paper.tex @@ -420,6 +420,12 @@ So far no special compression is done with this information, compared to the other source of information delayed heap stores are quite rare. +\begin{figure} +\includegraphics[width=0.5\textwidth]{figures/resume_data.pdf} +\caption{The resume data for Figure~\ref{fig:trace-log}} +\label{fig:resume-data} +\end{figure} + % section Resume Data (end) \begin{figure} _______________________________________________ pypy-commit mailing list [email protected] http://mail.python.org/mailman/listinfo/pypy-commit
