Package: reportbug Version: 6.3 Severity: wishlist
Hi, when user specifies the name of the buggy binary then a lookup for the binary package name is suggested. This is currently done using dpkg --search ... , which is ok but painfully slow when disk load is high. I suggest to use dlocate as primary alternative if dlocate is present. The justification is obvious, just compare the numbers of syscalls, and many of them are IO bound: ~ $ strace -f -o /dev/stdout dpkg --search bin/xfce4-keyboard-settings | wc -l 35825 ~ $ strace -f -o /dev/stdout dlocate -S bin/xfce4-keyboard-settings | wc -l 3012 Regards, Eduard. -- Package-specific info: ** Environment settings: DEBEMAIL="bl...@debian.org" DEBFULLNAME="Eduard Bloch" DEBNAME="Eduard Bloch" INTERFACE="text" ** /home/ed/.reportbugrc: reportbug_version "4.10.2" mode expert ui text mutt -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages reportbug depends on: ii apt 0.8.15.9 ii python 2.7.2-9 ii python-reportbug 6.3 reportbug recommends no packages. Versions of packages reportbug suggests: ii debconf-utils 1.5.41 ii debsums 2.0.49 ii dlocate 1.02 ii emacs23-bin-common 23.3+1-4 ii exim4 4.77-1 ii exim4-daemon-light [mail-transport-agent] 4.77-1 ii file 5.09-2 ii gnupg 1.4.11-3 ii python-gtk2 2.24.0-2 ii python-gtkspell <none> ii python-urwid <none> ii python-vte 1:0.28.2-1 ii xdg-utils 1.1.0~rc1-2 Versions of packages python-reportbug depends on: ii apt 0.8.15.9 ii python 2.7.2-9 ii python-debian 0.1.21 ii python-debianbts 1.10 ii python-support 1.0.14 python-reportbug suggests no packages. -- no debconf information -- <Getty> Beamtentum <Getty> wir haben halt strikte Aufgabenteilung -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org