[pypy-dev] Scrapy fails in PyPy

Maciej Fijalkowski fijall at gmail.com
Wed Dec 12 20:10:55 CET 2012


On Wed, Dec 12, 2012 at 7:06 PM, Joe Hillenbrand <joehillen at gmail.com> wrote:
> 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?

no. lxml uses cpyext (CPython extension compatibility) that is and
will forever be slow.


More information about the pypy-dev mailing list