Bug 1285360 - RFE: Please optimize repoquery --requires --resolve
Summary: RFE: Please optimize repoquery --requires --resolve
Keywords:
Status: CLOSED DUPLICATE of bug 1279538
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf-plugins-core
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1275275
TreeView+ depends on / blocked
 
Reported: 2015-11-25 13:08 UTC by Alec Leamas
Modified: 2015-11-26 09:06 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-11-26 09:06:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.