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.

"[email protected]" <[email protected]> Tue, 19 Jul 2011 07:13:16 +0200
Newsgroups gmane.linux.rpm.metadata
Message-ID <CAD5sFAbkRUw57xWvzyx_vnzXaUBC-a4Uk2z21vEsd_OF75Bq2A@mail.gmail.com>
On Mon, Jul 18, 2011 at 9:59 PM, seth vidal <[email protected]> wrote:
> 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.

1.8 GB -> 328 MB sound like a winner :)

Tim
_______________________________________________
Rpm-metadata mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/rpm-metadata