| Summary: | urpmi bash completion is very slow (~8 seconds) | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Richard Neill <mageia> |
| Component: | RPM Packages | Assignee: | Guillaume Rousse <guillomovitch> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | urpmi-6.46-1.mga2 | CVE: | |
| Status comment: | |||
|
Manuel Hiebel
2012-03-14 02:19:55 CET
Assignee:
bugsquad =>
guillomovitch
Guillaume Rousse
2012-03-14 12:47:25 CET
Summary:
urpmi tab-completion is very slow (~8 seconds) =>
urpmi bash completion is very slow (~8 seconds) |
Description of problem: Type: urpmi apache[TAB] Bash completion correctly shows: Display all 174 possibilities? (y or n) BUT, this takes 8 seconds!. Digging a little further, it's the function: _urpmi_packages() within /etc/bash_completion.d/urpmi which is slow. However, the underlying: urpmq --list is still very quick, timed at 0.15 second. I know urpmi wasn't always this slow: I'm doing this on an core i7 2700 machine, with 16 GB RAM and SSDs...so it really shouldn't be this slow! For comparison, "apt-get install apache[TAB]" runs in ~ 0.5 secs on an old laptop).