From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Faster!
Date: Thu, 31 Jan 2013 23:22:52 +0100 [thread overview]
Message-ID: <87622dgfgj.fsf@gnu.org> (raw)
In-Reply-To: <87ehh2ffo1.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 30 Jan 2013 23:51:26 +0100")
ludo@gnu.org (Ludovic Courtès) skribis:
> No, but it’s true that it’s surprisingly slow to start:
>
> $ time ./pre-inst-env guix-package
>
> real 0m1.084s
> user 0m0.904s
> sys 0m0.058s
This is actually the time it takes to connect to the daemon, and to
compute the derivation of Guile (which is then used to build the
profile, if a profile gets built.)
Queries (-I and -A) don’t need this, so I just rearranged the code
accordingly. Both now take less than .2s on my laptop.
In the roll-back case, neither is necessary, except when rolling back to
generation 0 for the first time. All other actions need it. So I just
kept it for all the actions, including roll-back.
Thanks,
Ludo’.
next prev parent reply other threads:[~2013-01-31 22:22 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-29 23:15 Faster! Ludovic Courtès
2013-01-30 20:47 ` Faster! Andreas Enge
2013-01-30 21:04 ` Faster! Ludovic Courtès
2013-01-30 21:17 ` Faster! Andreas Enge
2013-01-30 22:04 ` Faster! Ludovic Courtès
2013-01-30 22:09 ` Faster! Andreas Enge
2013-01-30 22:51 ` Faster! Ludovic Courtès
2013-01-31 22:22 ` Ludovic Courtès [this message]
2013-02-04 19:12 ` Faster! Nikita Karetnikov
2013-02-04 21:37 ` Faster! Ludovic Courtès
2013-03-16 16:43 ` Faster! Ludovic Courtès
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=87622dgfgj.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=andreas@enge.fr \
--cc=bug-guix@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 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.