parsing xml

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.metadata
Message-ID <1068663589.31728.24.camel@opus>
Hey,
 I did some tests on my laptop and my desktop at work last night with
importing the xml file.

using python and libxml2 on my laptop parsing a 4MB, 1465 package xml
file of the package metadata took 13s. my laptop is a ibm thinkpad
~650mhz when speedstepped (which it almost always is). On my desktop it
took 6s. my desktop is a 1.2ghz athlon.

Humorously enough when I enable the python profiler to see where I can
trim down some time it takes nearly 2 minutes to parse the same file on
my laptop.

so I think the parsing for this data looks pretty good.

-sv
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.