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

tim.lauridsen at gmail.com tim.lauridsen at gmail.com
Tue Jul 19 05:13:16 UTC 2011


On Mon, Jul 18, 2011 at 9:59 PM, seth vidal <skvidal at fedoraproject.org> 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


More information about the Rpm-metadata mailing list