Re: [PATCH] switch --update to use the sqlite dbs instead of the xml files. Should massively impact memory footprint and hopefully only marginally impact performance.

seth vidal <[email protected]> Mon, 18 Jul 2011 15:59:15 -0400
Newsgroups gmane.linux.rpm.metadata
Message-ID <1311019155.11247.26.camel@oliver>
On Fri, 2011-07-15 at 17:53 -0400, Seth Vidal wrote:
> ---
>  createrepo/__init__.py     |   40 ++------
>  createrepo/readMetadata.py |  240 +++++++++++++------------------------------
>  2 files changed, 83 insertions(+), 197 deletions(-)


Tested locally on repodata of 9000 pkgs.

Goes from 1.8-> 2GB of  memory in use with the old createrepo code to
325MB of memory in use - same operation - performance-wise it is not
considerably different. More testing will bear that out, though.

I think I'll push this

-sv