Profiling the Python Interpreter

gb at cs.unc.edu gb at cs.unc.edu
Fri Oct 5 08:46:02 EDT 2001


Skip Montanaro <skip at pobox.com> writes:
> What version(s) of gcc have you tried?  What optimization levels?  I notice
> marked improvements in performance if I tailor the optimization level to the
> hardware better.  -mcpu=pentiumpro seems to have a fairly substantial
> positive impact if you're running on a P-III, for instance.

Good suggetsion Skip. This is compiler version appears to be
2.95.3-5. I (just now) compiled it with "-O3 -mcpu=pentiumpro" but it
didn't improve the run time.

This is on a 600MHz PIII Laptop.

gb



More information about the Python-list mailing list