Why is xml.dom.minidom so slow?
Bjorn Pettersen
BPettersen at NAREX.com
Thu Jan 2 15:36:31 EST 2003
More information about the Python-list mailing list
Thu Jan 2 15:36:31 EST 2003
- Previous message (by thread): Why is xml.dom.minidom so slow?
- Next message (by thread): Why is xml.dom.minidom so slow?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Background: I've got 750 accounts in xml format in a 50 Mb file. I can extract the string for an individual account at a rate of >290 accts/sec. When I add a call to parseString() afterwards however, the speed drops to 0.75 accts/sec. All I'm doing boils down to: response = rf.nextResponse() dom = parseString(response) in a loop. Am I doing something wrong? Is there a faster way when all I need is a traversable tree structure as the result? For our requirements we can't use anything under 10 accts/sec without impacting our SLAs... -- bjorn
- Previous message (by thread): Why is xml.dom.minidom so slow?
- Next message (by thread): Why is xml.dom.minidom so slow?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list