<br><br><div class="gmail_quote">On Sun, Sep 30, 2012 at 8:28 PM, Antoine Pitrou <span dir="ltr"><<a href="mailto:solipsis@pitrou.net" target="_blank">solipsis@pitrou.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sun, 30 Sep 2012 19:12:47 -0400<br>
Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br>
><br>
> ### mako_v2 ###<br>
> Min: 0.137584 -> 0.287701: 2.09x slower<br>
> Avg: 0.140620 -> 0.293204: 2.09x slower<br>
> Significant (t=-296.14)<br>
> Stddev: 0.00243 -> 0.00272: 1.1195x larger<br>
<br>
</div>Note that Mako can use the Markupsafe library for faster operation.<br>
This will skew the result if one of your Pythons has Markupsafe<br>
installed and the other does not.<br></blockquote><div><br></div><div>Should probably have the benchmark print out a warning when markupsafe is used. Turns out I have it installed in my user directory for Python 2.7 so that probably came into play.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Perhaps the benchmark runner should launch its subtests in a controlled<br>
environment to avoid such issues?<br></blockquote><div><br></div><div>If we had venv in Python 2.7 that might be easy to do, but otherwise is there an easy way without having to try to pull in virtualenv or something crazy like a chroot or something?</div>
<div> </div><div>-Brett</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
(shipping a copy of Markupsafe would not be very practical, because it<br>
has a C extension)<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888"><br>
Antoine.<br>
<br>
<br>
--<br>
Software development and contracting: <a href="http://pro.pitrou.net" target="_blank">http://pro.pitrou.net</a><br>
<br>
<br>
_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="http://mail.python.org/mailman/listinfo/python-dev" target="_blank">http://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/brett%40python.org" target="_blank">http://mail.python.org/mailman/options/python-dev/brett%40python.org</a><br>
</font></span></blockquote></div><br>