[Python-Dev] Building a Faster Python (original) (raw)

Maciej Fijalkowski fijall at gmail.com
Mon Jul 22 09:32:01 CEST 2013


On Mon, Jul 22, 2013 at 8:15 AM, Antoine Pitrou <solipsis at pitrou.net> wrote:

On Sun, 21 Jul 2013 16:36:35 -0700 Raymond Hettinger <raymond.hettinger at gmail.com> wrote:

Our current Mac OS X builds use GCC-4.2.

On Python2.7, I ran a comparison of gcc-4.2.1 builds versus gcc-4.8.1 and found that the latter makes a much faster Python. PyBench2.0 shows the total running time dropping from 5653ms to 4571ms. The code is uniformly better in just about every category. You could try running the benchmarks suite to see what that gives: http://hg.python.org/benchmarks/ Regards Antoine.

or pypy benchmark suite which is more comprehensive for python 2.7 (http://bitbucket.org/pypy/benchmarks)



More information about the Python-Dev mailing list