[pypy-issue] [issue1091] list(xrange) is slower in PyPy 1.8 than in CPython 2.6.5

Richard Barrell tracker at bugs.pypy.org
Thu Mar 15 16:19:43 CET 2012


New submission from Richard Barrell <rchrd at brrll.co.uk>:

I'm using the Linux 64-bit binary PyPy 1.8 from here: https://bitbucket.org/pypy/pypy/downloads/pypy-
1.8-linux64.tar.bz2
and Python 2.6.5 from the repositories on Ubuntu 10.04. The machine that I'm running on is a Core 2 Duo 
laptop with 4GB of RAM, running at 2.10GHz.

richyb at figgy:~$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import time; t1 = time.time(); _ = list(xrange(10000000)); print time.time() - t1
0.385615825653
>>>

richyb at figgy:~$ pypy
Python 2.7.2 (0e28b379d8b3, Feb 09 2012, 19:41:03)
[PyPy 1.8.0 with GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``PyPy is Shirt Origami research''
>>>> import time; t1 = time.time(); _ = list(xrange(10000000)); print time.time() - t1
2.09597301483
>>>>

----------
messages: 4101
nosy: RichyB, pypy-issue
priority: performance bug
status: unread
title: list(xrange) is slower in PyPy 1.8 than in CPython 2.6.5

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1091>
________________________________________


More information about the pypy-issue mailing list