[XML-SIG] minidom enhancements, 1st installment

Fred L. Drake, Jr. fdrake@acm.org
Thu, 21 Feb 2002 15:05:24 -0500

I've just checked in what I have so far into the minidom-enhancements
branch in CVS.  The perfomance checker script reports the following on
a RedHat 7.2 box with fairly current updates:

Python 2.0.1:
    using xml.dom.minidom.parseString(): 17.4418720007
    using xml.dom.expatbuilder.parseString(): 7.06486296654

Python 2.1.2:
    using xml.dom.minidom.parseString(): 16.3245279789
    using xml.dom.expatbuilder.parseString(): 6.71447992325

Python 2.2 + (maintenance branch from Python CVS):
    using xml.dom.minidom.parseString(): 13.8505721092
    using xml.dom.expatbuilder.parseString(): 6.86473989487

Python 2.3a0 (Python CVS trunk):
    using xml.dom.minidom.parseString(): 13.673410058
    using xml.dom.expatbuilder.parseString(): 6.74867010117

Times are in seconds, yada yada yada.  Read perf_expatbuilder.py to
see if you think it means anything.


Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation