Bug 1285360

Summary: RFE: Please optimize repoquery --requires --resolve
Product: [Fedora] Fedora Reporter: Alec Leamas <leamas.alec>
Component: dnf-plugins-coreAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jsilhan, lupinix.fedora, mluscon, packaging-team-maint, piotr1212, pnemade, RadekHolyPublic, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-26 09:06:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1275275    

Description Alec Leamas 2015-11-25 13:08:17 UTC
Description of problem:

When using e. g., 'dnf repoquery --requires --resolve <package> dnf is seemingly much slower than yum. A simple example on a i5 with 4 MB ram with warm caches:

$ time dnf repoquery -C --resolve --requires python fedora-reviev
[snip]

real	1m59.434s
user	1m58.479s
sys	0m0.968s

$time repoquery -C --resolve --requires python fedora-review
[snip]

real	0m3.010s
user	0m0.571s
sys	0m0.167s

This hits fedora-review, see e. g., bug #1275275. Given the figures, some kind of optimization should be possible (?)

Comment 1 Christian Dersch 2015-11-26 09:06:27 UTC
Issue already reported: https://bugzilla.redhat.com/show_bug.cgi?id=1279538

*** This bug has been marked as a duplicate of bug 1279538 ***