[pypy-dev] Scrapy fails in PyPy

Joe Hillenbrand joehillen at gmail.com
Wed Dec 12 18:06:14 CET 2012


I was able to fix the issue with scrapy.

https://github.com/joehillen/scrapy/commit/8778af5c5be50a5d746751352f8d710d1f24681c

Unfortunately, scrapy takes twice as long in PyPy than in CPython. I
suspect this is because lxml is twice as slow in PyPy vs CPython, which I
found in lxml's benchmarks.

Should lxml be added to the set of speed tests?


On Thu, Dec 6, 2012 at 12:34 AM, Maciej Fijalkowski <fijall at gmail.com>wrote:

> On Wed, Dec 5, 2012 at 3:40 PM, Joe Hillenbrand <joehillen at gmail.com>
> wrote:
> > I've found a place where PyPy and CPython disagree.
> >
> > https://gist.github.com/4220533
> >
> > This might not be the only issue, but it's the first thing I've found so
> > far.
> >
> > -Joe
>
> This is a well known issue - PyPy's methods and builtin methods are
> not that different. We can probably fix it though
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20121212/44d42a97/attachment.html>


More information about the pypy-dev mailing list