[Python-Dev] tuning up...
Guido van Rossum
Sun, 23 Feb 2003 08:20:04 -0500
> I've just put together a binary distribution of 2.3a2 for OS/2 EMX, and
> for the hell of it compared the pystone ratings of 2.3a2 against 2.2.2
> on 2 different systems.
> 2.2.2 2.3a2 change
> system 1 18200 21700 +19.2%
> system 2a 5600 6975 +24.5%
> system 2b 6600 8540 +29.4%
> (Pystone on 2.2.2 adjusted to 50000 loops, average of 3 runs)
> system 1: Athlon 1.4GHz, 512MB (PC133), OS/2 v4.0 FP12, gcc 2.8.1 -O2
> system 2a: Via C3 800MHz, 256MB (PC133), OS/2 v4.0 FP15, gcc 2.8.1 -O2
> system 2b: " , " , FreeBSD 4.7, gcc 2.95.4 -g -O3
About 10% of the improvement is due to the removal of SET_LINENO
opcodes; to remove this effect, you should compare python2.2 -O to
But the rest is still impressive; I can't remember what we did...
--Guido van Rossum (home page: http://www.python.org/~guido/)