rawhide report: 20050405 changes

Konstantin Ryabitsev mricon at gmail.com
Tue Apr 5 17:28:43 UTC 2005


On Apr 5, 2005 11:35 AM, seth vidal <skvidal at phy.duke.edu> wrote:
>  Icon was working on repoview and decided to try out CelementTree b/c he
> was using kid anyway and it used it. After some preliminary tests it
> showed up as significantly faster parsing the metadata. For
> primary.xml.gz the times went from 21s for 1800ish pkgs to 7s. Then when
> he switched it to use iterparse() the memory footprint dropped below 10M
> for the whole parse.

That was filelists.xml for development -- 36MB of XML, not
primary.xml. There was a 2.5 times speed improvement with cElementTree
code, compared to old yum code, using libxml2 -- around 20 seconds for
libxml2, and around 7-8 seconds for cElementTree on an AMD Athlon
2600+.

Regards,
-- 
Konstantin Ryabitsev
Zlotniks, INC




More information about the devel mailing list