all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pierre Neidhardt <mail@ambrevar.xyz>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: guix package --search slow ?
Date: Wed, 15 May 2019 17:11:35 +0200	[thread overview]
Message-ID: <87h89vycpk.fsf@ambrevar.xyz> (raw)
In-Reply-To: <CAJ3okZ0Eocqx6gPR4bj4ybj3ZNqqXunZLteogQm4_AcvArW-kg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

zimoun <zimon.toutoune@gmail.com> writes:

>> For Emacs users, it's what helm-system-packages does.  It implements its
>> own names+synopses cache.  helm-system-packages takes some seconds on
>> first start to build the cache; after that you get instant live search! :)
>
> You are doing ads for your package ;-)

Helm, what else... :p

> And what do mean by this comment [2]
>
> ;; We build both caches at the same time. We could also build just-in-time, but
> ;; benchmarks show that it only saves less than 20% when building one cache.

Here "caches" refer to the internal in-memory caches of
helm-system-packages, this has nothing to do with the "guix search..."
cache.  Poor phrasing, admittedly. :/

> Last, the "slowness" comes from `guix package --search` doing there
> [3], I guess.

Yes, helm-system-packages relies on "guix search".

-- 
Pierre Neidhardt
https://ambrevar.xyz/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

  reply	other threads:[~2019-05-15 15:23 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 [this message]
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

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h89vycpk.fsf@ambrevar.xyz \
    --to=mail@ambrevar.xyz \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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 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.