[Python-Dev] Joys of Optimization

Hye-Shik Chang perky at i18n.org
Mon Mar 15 00:39:20 EST 2004


On Mon, Mar 15, 2004 at 10:07:11AM +1100, Delaney, Timothy C (Timothy) wrote:
> I did a bit of benchmarking of various versions on my FreeBSD box ... I may have got a bit carried away ;)
> 
> A few interesting things to note:
[snip]
> 
> 2.3 and 2.4 were built from source, the others were installed as binary packages.
>

If you are interested in more performance, try to build the port
with this options:

 CFLAGS=-O3 CPUTYPE=p2 make install clean

FreeBSD ports use only -O1 by default. -O3 may boost the benchmark
result by 10%~15%.


Hye-Shik



More information about the Python-Dev mailing list