
SF bug 474992 contains a simple benchmark claimed to show dramatic slowdown from 1.5.2 to 2.0, and again but less so from 2.0 to 2.1. Also major slowdown from enabling gc. I *believe* Frederic ran it on Tru64. no-time-here-ly y'rs - tim

Tim Peters wrote:
... want me to run pybench against the different versions ? -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Consulting & Company: http://www.egenix.com/ Python Software: http://www.lemburg.com/python/

tim wrote:
SF bug 474992 contains a simple benchmark claimed to show dramatic slowdown from 1.5.2 to 2.0, and again but less so from 2.0 to 2.1.
fwiw, here's the timings I get on a slow windows box (using PythonWare builds, and time.clock() instead of os.times()): python 1.5: 2.01 python 2.0: 3.02 python 2.1: 3.00 python 2.2: 3.04 after playing some more, I ended up with this little benchmark: def dosomething(item): return [None, None, None] data = [None] * 100000 import time t1 = time.clock(); x = map(dosomething, data) t2 = time.clock() print t2 - t1 python 1.5: 1.02 seconds python 2.0: 1.95 seconds python 2.1: 1.85 seconds python 2.2: 1.90 seconds </F>

Tim Peters wrote:
... want me to run pybench against the different versions ? -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Consulting & Company: http://www.egenix.com/ Python Software: http://www.lemburg.com/python/

tim wrote:
SF bug 474992 contains a simple benchmark claimed to show dramatic slowdown from 1.5.2 to 2.0, and again but less so from 2.0 to 2.1.
fwiw, here's the timings I get on a slow windows box (using PythonWare builds, and time.clock() instead of os.times()): python 1.5: 2.01 python 2.0: 3.02 python 2.1: 3.00 python 2.2: 3.04 after playing some more, I ended up with this little benchmark: def dosomething(item): return [None, None, None] data = [None] * 100000 import time t1 = time.clock(); x = map(dosomething, data) t2 = time.clock() print t2 - t1 python 1.5: 1.02 seconds python 2.0: 1.95 seconds python 2.1: 1.85 seconds python 2.2: 1.90 seconds </F>
participants (3)
-
Fredrik Lundh
-
M.-A. Lemburg
-
Tim Peters