[lxml-dev] Message from a happy user!
![](https://secure.gravatar.com/avatar/f9c5ba70ccfb19499e72581418807623.jpg?s=120&d=mm&r=g)
Hi all, This is not a question, nor a bug report, but a message to thank the lxml team. I had a script using ElementTree, that was taking 10s. I tried to switch to cElementTree, but this broke my code. So I gave a try to lxml, changed nothing to my code except the import statement, and zooom, it runs in 1 second. Thank you very much for you work, and I hope you will get more visibility in the xml python libs, because you deserve it! Charles Brossollet
![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
Hi, Charles Brossollet a écrit:
This is not a question, nor a bug report, but a message to thank the lxml team. I had a script using ElementTree, that was taking 10s. I tried to switch to cElementTree, but this broke my code. So I gave a try to lxml, changed nothing to my code except the import statement, and zooom, it runs in 1 second.
Thank you very much for you work, and I hope you will get more visibility in the xml python libs, because you deserve it!
Ah, guess who likes reading that... Let me link your archived mail from the benchmarks page. It's one thing if you read numbers 'tweaked' by the authors, it's another to read them from people who actually use it. Thanks for sharing your happiness! :) Stefan
![](https://secure.gravatar.com/avatar/747bd7232d20d7883b7f3b99a16d0a6b.jpg?s=120&d=mm&r=g)
Op Maandag 2008-01-28 skryf Charles Brossollet:
Hi all,
This is not a question, nor a bug report, but a message to thank the lxml team. I had a script using ElementTree, that was taking 10s. I tried to switch to cElementTree, but this broke my code. So I gave a try to lxml, changed nothing to my code except the import statement, and zooom, it runs in 1 second.
Thank you very much for you work, and I hope you will get more visibility in the xml python libs, because you deserve it!
Charles Brossollet
My story is perhaps not that interesting as I switched from minidom (am I allowed here?). I can't find my benchmarks now, but I guess they are not really interesting. ElementTree wasn't really an option because of roundtrip issues. Speed improved substantially and memory consumption dropped enormously. Some large XML files could actually be processed for the first time. Thanks a lot for lxml - it is now used in the latest release of the Translate Toolkit. Regards Friedel
![](https://secure.gravatar.com/avatar/8b97b5aad24c30e4a1357b38cc39aeaa.jpg?s=120&d=mm&r=g)
Hi, F Wolff skryf:
My story is perhaps not that interesting as I switched from minidom (am I allowed here?).
Sure, you're on The Right Side now. ;o) Thanks for sharing this. So, what about collecting some more of these 'first time' experiences in this thread? I really like reading them! http://thread.gmane.org/gmane.comp.python.lxml.devel/3244/focus=3244 Regards, Stefan
participants (3)
-
Charles Brossollet
-
F Wolff
-
Stefan Behnel