[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.
seth vidal
skvidal at fedoraproject.org
Mon Jul 18 19:59:15 UTC 2011
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
More information about the Rpm-metadata
mailing list