lxml parser performance

from blog Secret Weblog, | ↗ original
↗ original
In a discussion with Fredrik Lundh about his (c)ElementTree parser performance benchmarks on the lxml.etree implementation.In a discussion with Fredrik Lundh about his (c)ElementTree parser performance benchmarks on the lxml.etree implementation. On my work linux/athlon box, with Python 2.3, I get the following figures:On my work linux/athlon box, with Python 2.3, I get the following figures: library time space library time space ------------------------------------- ------------------------------------- ElementTree 1.2.4 1.3 s 14000k ElementTree 1.2.4 1.3 s 14000k cElementTree 0.8 0.12 s 5500k cElementTree 0.8 0.12 s 5500k etree (trunk) 0.12 s ...etree (trunk) 0.12 s ...