[pypy-dev] HTML Parser?

Joe Hillenbrand joehillen at gmail.com
Fri Feb 22 07:39:21 CET 2013


Great to hear! I just got it working with scrapy. Unfortunately there
wasn't any speedup.

A normal crawl in CPython takes:
real    1m32.238s
user    0m56.576s
sys    0m1.208s

In PyPy:
real    1m54.098s
user    1m18.105s
sys    0m1.372s

Thanks for all your hard work.

-Joe

On Wed, Feb 20, 2013 at 11:28 AM, Amaury Forgeot d'Arc
<amauryfa at gmail.com>wrote:

>
> 2013/2/20 Maciej Fijalkowski <fijall at gmail.com>
>
>> Is it working on released cffi or on cffi that's in-development or you
>> need patches?
>>
>
> It developed it with a nightly build from mid-January,
> and the cffi library that was available at the time.
> It's now released as cffi 0.5 I think.
>
> I did not test with CPython at all.
>
> At the time cffi used to return enum values as strings,
> but I just tested with the last version of cffi and pypy nightly build,
> and tests still pass!
>
>     Ran 1006 tests in 34.730s
>     FAILED (failures=1)
> and the only failure is::
>     self.assertTrue(hasattr(self.etree, '_import_c_api'))
> :-)
>
> --
> Amaury Forgeot d'Arc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130221/5214fec1/attachment.html>


More information about the pypy-dev mailing list