From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: Re: guix package --search slow ?
Date: Wed, 15 May 2019 16:31:51 +0200 [thread overview]
Message-ID: <CAJ3okZ1nK=tWH9oWroOFP8r2ByrKR6jzJXqOmJSu__9oLQTWUw@mail.gmail.com> (raw)
In-Reply-To: <e3ca56e4-2b8d-0c8d-28bb-6d00ef9510af@web.de>
On Wed, 15 May 2019 at 15:48, Jonathan Brielmaier
<jonathan.brielmaier@web.de> wrote:
>
> On 5/15/19 3:34 PM, Ludovic Courtès wrote:
> > We could probably improve the cold-cache timings by adding synopses and
> > descriptions to the package cache that ‘guix pull’ builds in
> > ~/.config/guix/current/lib/guix/package.cache, but that would also make
> > that cache bigger. Not sure if it’s worth it.
>
> Another idea would be to have some kind of simple search which only
> includes the package name and maybe the synopsis. So this could go to
> the cache and I would assume that a cold-cache search will also be
> faster. And as a nice give away, it doesn't include so much scrolling :)
`guix package -A` already searches only for the names and uses the cache.
From my opinion, the difference between adding the synopsis or
synopsis+description to the cache is similar. Qui peut le plus peut le
moins (Who can do more can do less too ;-)
> But in general I don't find the search so slow. Sometimes zypper for
> example has to refresh the repos and than "guix search" is faster, even
> with cold cache...
I agree that now the performance are not so "horrible", but even, can
we do better? :-)
All the best,
simon
next prev parent reply other threads:[~2019-05-15 14:32 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ3okZ1nK=tWH9oWroOFP8r2ByrKR6jzJXqOmJSu__9oLQTWUw@mail.gmail.com' \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).