From: ludo@gnu.org (Ludovic Courtès)
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>, myglc2 <myglc2@gmail.com>
Subject: Performance of the man page database generation
Date: Thu, 20 Apr 2017 11:29:39 +0200 [thread overview]
Message-ID: <871ssn4ebg.fsf_-_@gnu.org> (raw)
In-Reply-To: <87a87ibjq1.fsf@gmail.com> (Maxim Cournoyer's message of "Sat, 15 Apr 2017 09:25:10 +0900")
Hello,
Maxim Cournoyer <maxim.cournoyer@gmail.com> skribis:
> myglc2 <myglc2@gmail.com> writes:
[...]
>> It is taking more like 50 seconds on my 3.4 Ghz server for 33 packages.
>>
>>> I wonder why the odd package count mismatch (23 vs 22) ?
>>
>> That's my fault. I cut and pasted from two different runs. SORRY! ;-)
>>
>
> OK! No problem; thanks for clarifying it!
>
>>> I don't recall observing this while testing (maybe it only happens
>>> when using the -m option) ?
>>
>> No, I get the same effect w/ 'guix package -r foo.
>
> 50 seconds for 33 packages on such a powerful machine seems abnormal,
> unless you have a specific package(s) which would install an unusually
> large amount of manual pages (which would take more time to be indexed).
>
> Ludovic had a way to time the generation of the manual-database
> derivation; he was using something like [0]:
>
> time guix build --check /gnu/store/rkri628apz2a2i2jvav11ylv2736fvv3-manual-database.drv
>
> Notice that you need the derivation (.drv) of manual-database rather
> than the store item ending by manual-database. Unfortunately I'm not
> aware of how we can easily find the derivation of the corresponding
> manual-database store item used by the profile (as can be found by: guix
> gc -R $(realpath $HOME/.guix-profile) | grep manual-database).
>
> Maybe Ludovic can enlight us?
You can see those .drv names when building the profile. So you just
need to copy/paste them and run “guix build --check” above.
If you have the profile but not its .drv, you can find out what the .drv
for that profile was but there’s no command-line interface for that (you
have to use ‘valid-derivers’ from (guix store).)
HTH,
Ludo’.
next prev parent reply other threads:[~2017-04-20 9:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20170405205638.12336.78854@vcs0.savannah.gnu.org>
[not found] ` <20170405205640.15AE6210A4@vcs0.savannah.gnu.org>
2017-04-08 19:29 ` 04/06: profiles: Generate database file for man pages Leo Famulari
2017-04-10 1:00 ` Maxim Cournoyer
2017-04-09 17:28 ` myglc2
2017-04-10 1:22 ` Maxim Cournoyer
2017-04-10 1:45 ` myglc2
2017-04-15 0:25 ` Maxim Cournoyer
2017-04-20 9:29 ` Ludovic Courtès [this message]
2017-05-14 6:18 ` Performance of the man page database generation Maxim Cournoyer
2017-05-14 15:31 ` myglc2
2017-05-15 16:23 ` bug#26942: [PATCH] Add Add elapsed time to manual-database hook to output message (was: Performance of the man page database generation) Maxim Cournoyer
2017-05-16 21:12 ` bug#26942: [PATCH] Add Add elapsed time to manual-database hook to output message Ludovic Courtès
2017-05-30 21:29 ` Ricardo Wurmus
2017-05-16 8:21 ` Performance of the man page database generation Ludovic Courtès
2017-05-16 17:24 ` Maxim Cournoyer
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=871ssn4ebg.fsf_-_@gnu.org \
--to=ludo@gnu.org \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@gmail.com \
--cc=myglc2@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.