<p dir="ltr"><br>
On 24 Nov 2013 17:15, "Gregory P. Smith" <<a href="mailto:greg@krypto.org">greg@krypto.org</a>> wrote:<br>
><br>
> our buildbots are setup to configure --with-pydebug which also unfortunately causes them to compile with -O0... this results in a python binary that is excruciatingly slow and makes the entire test suite run take a long time.<br>

><br>
> given that nobody is ever going to run a gdb or another debugger on the buildbot generated transient binaries themselves how about we speed all of the buildbot's up by adding CFLAGS=-O2 to the configure command line?</p>

<p dir="ltr">The main problem is that doing so would disable test_gdb. Humans don't run gdb on those binaries, but the test suite does.</p>
<p dir="ltr">I agree it would be nice to figure out a way to run most of the tests on an optimised build, though.</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> Sure, the compile step will take a bit longer but that is dwarfed by the test time as it is:<br>
><br>
> <a href="http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3224">http://buildbot.python.org/all/builders/AMD64%20Ubuntu%20LTS%203.x/builds/3224</a><br>
> <a href="http://buildbot.python.org/all/builders/ARMv7%203.x/builds/7">http://buildbot.python.org/all/builders/ARMv7%203.x/builds/7</a><br>
> <a href="http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/639">http://buildbot.python.org/all/builders/AMD64%20Snow%20Leop%203.x/builds/639</a><br>
><br>
> It should dramatically decrease the turnaround latency for buildbot results.<br>
><br>
> -gps<br>
><br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com">https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com</a><br>
><br>
</p>