all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* guix package --search slow ?
@ 2019-05-14 17:19 zimoun
  2019-05-14 20:17 ` Ricardo Wurmus
  2019-05-15  2:22 ` Meiyo Peng
  0 siblings, 2 replies; 18+ messages in thread
From: zimoun @ 2019-05-14 17:19 UTC (permalink / raw)
  To: Guix Devel

Dear,

When searching packages with `guix search`, it appears to me slow;
especially compared to `aptitude` of Debian.

Say on my machine:

$ time guix package --search=python-numpy | recsel -p name -
name: python-numpy
name: python-numpy-documentation
name: python-numpydoc
name: python2-numpy-documentation

real    0m11.864s
user    0m1.160s
sys     0m0.212s


$ time aptitude search python-numpy
i A python-numpy                    - Numerical Python adds a fast array facilit
v   python-numpy-abi9               -
v   python-numpy-api10              -
p   python-numpy-dbg                - Fast array facility to the Python language
v   python-numpy-dev                -
p   python-numpy-doc                - NumPy documentation
p   python-numpydoc                 - Sphinx extension to support docstrings in

real    0m3.219s
user    0m0.656s
sys     0m0.088s


I am not sure to exactly understand how the search works.
Basically, a "big" `fold' is done on `%package-module-path' and there
is no caching. Right?

What should be done to improve the search speed?


All the best,
simon

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2019-05-16 15:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-14 17:19 guix package --search slow ? zimoun
2019-05-14 20:17 ` Ricardo Wurmus
2019-05-15  9:54   ` zimoun
2019-05-15 11:35     ` Ricardo Wurmus
2019-05-15 13:34     ` Ludovic Courtès
2019-05-15 13:43       ` Pierre Neidhardt
2019-05-16 15:13         ` Ludovic Courtès
2019-05-15 13:48       ` Jonathan Brielmaier
2019-05-15 14:08         ` Pierre Neidhardt
2019-05-15 14:50           ` zimoun
2019-05-15 15:11             ` Pierre Neidhardt
2019-05-15 14:31         ` zimoun
2019-05-15 14:23       ` zimoun
2019-05-15 18:32       ` zimoun
2019-05-15 20:30       ` Giovanni Biscuolo
2019-05-15  2:22 ` Meiyo Peng
2019-05-15  9:59   ` zimoun
2019-05-15 14:08   ` zimoun

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.