[lxml-dev] build & performance issues with 2.0beta2
jholg at gmx.de
jholg at gmx.de
Fri Feb 1 16:06:29 CET 2008
> >
> > I forwarded this to the Cython list, let's see what that gives.
>
> And it helped! :)
>
> http://comments.gmane.org/gmane.comp.python.cython.devel/588
>
> Here's a fix for Cython.
>
> Stefan
Thanks very much, I'll try that out. You guys are lightspeed, as ever.
That's one of another big point for lxml, btw: Mailing-list responsiveness
by its maintainer, and experienced users.
I tried to do a little bit of performance comp. This is the stuff that
seems to be >20% slower for me since 2.0alpha:
0 lb54320 at adevp02 .../lxml-2.0beta2 $ /data/pydev/hjoukl/python/pysource/tools/lxml_benchcmp.py /data/tmp/pytaf/benchmarks/etree_2.0alpha.log /data/tmp/pytaf/benchmarks/etree_2.0beta2.log --tolerance 20 --loglevel MUCHSLOWER
lxe: index_slice_neg (--TR T1 ): 0.02000000 <<< 0.14900000 msec/pass (+6.450000) !!!
lxe: index_slice_neg (--TR T4 ): 0.00790000 <<< 0.10700000 msec/pass (+12.544304) !!!
lxe: replace_children (--TC T2 ): 0.27700000 <<< 0.39790000 msec/pass (+0.436462) !!!
lxe: replace_children (--TC T1 ): 0.03290000 <<< 0.04200000 msec/pass (+0.276596) !!!
lxe: index_slice (--TR T3 ): 0.01100000 <<< 0.01410000 msec/pass (+0.281818) !!!
lxe: replace_children (--TC T4 ): 0.03290000 <<< 0.04080000 msec/pass (+0.240122) !!!
0 lb54320 at adevp02 .../lxml-2.0beta2 $
I hacked up a little script to produce this (attached), not tested at all yet.
I won't be able to check the patch until monday, unfortunately (unless I install a 2.95.2 on my linux box at home, that is ;-)
Holger
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lxml_benchcmp.py
Type: application/octet-stream
Size: 6233 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080201/15346b80/attachment.obj
More information about the lxml-dev
mailing list