[Bug 1198481] zypper search is very slow
http://bugzilla.opensuse.org/show_bug.cgi?id=1198481 http://bugzilla.opensuse.org/show_bug.cgi?id=1198481#c7 --- Comment #7 from Michael Andres <ma@suse.com> --- (In reply to Dirk Mueller from comment #0)
compared to the fastest (not the default(!)) way I could find with zypper (same system, same hardware):
I don't want to be nit-picky, but the default does whatever you set when adding your repos. If autorefresh is on it is a performance penalty. That's why it is not turned on by zypper by default. We're already working on a query command, which will behave differently. No refresh per default and no fancy output. Preferably supporting a custom output format line rpm `--queryformat'.
Thats factor 25 (!) slower. There gotta be a better way. I'll attach a perf(1) report.
Obvious overhead in that case is the launch of the rpmdb which transfers the stored gpg-pubkeys into zypp's keyring. The `--no-refresh` does not need them at all, and even the refresh case only if metadata need to be updated. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com