[Python-Dev] collections module

Kurt B. Kaiser kbk at shore.net
Tue Jan 13 21:02:51 EST 2004


Guido van Rossum <guido at python.org> writes:

> Awesome!  We need timing results on some other platforms (Linux,
> FreeBSD, MacOSX).

OpenBSD 3.3, i386 2.4Ghz P4 Celeron, 256MB, 128kB cache

before  after
------  -----
1.2     0.64
1.15    0.60
1.16    0.60
1.16    0.60
1.16    0.61
1.15    0.60
1.13    0.61
1.15    0.59
1.14    0.62
1.15    0.60

before: 15773 pystones, 29.9 mPB
after:  12690 pystones, 31.4 mPB

Switch back to CVS:

19531, 19379, 19531, 19379, 19305, 19084 pystones, 31.4 mPB

Switch back to Tim's patch:

15015, 15480, 14588 pystones

should not need, but:
make clean && make  (just make on previous, only listobject.c being recompiled)

Still patched: 
13158, 14006, 13193; restart python; 15923, 16722, 16023
restart python; 12953, 13698, 12953, 13513

Well, pystones are all over the map on this box.  But the improvement is there
for punchit and the parrotbench benchmark is solid across the change.
-- 
KBK



More information about the Python-Dev mailing list