[XML-SIG] parsers and XML
Fredrik Lundh
Fredrik Lundh" <effbot@telia.com
Tue, 8 Aug 2000 19:55:36 +0200
lars marius wrote:
> | g) Relative speeds on my hardware:
> | sgmlop (C module) 4.15
> | pyexpat (C module) 2.60
> | xmlproc (python) 1.21
> | xmllib (python) 1.00
>=20
> Relative speed depends quite a bit on the document being parsed.
> Also, the speed difference when using sgmlop is probably greater when
> you don't use SAX.
fwiw, xmllib is much faster in 1.6b1:
xmllib 1.5.2: 1.00
xmllib 1.6b1: 2.45
(relative speeds)
:::
the SREX shallow parser still outperforms anything
else, of course:
srex 1.6b1: 108.48 (!)
</F>