GNU bug report logs -
#45102
[PATCH 0/4] Making fewer 'stat' calls during startup
Previous Next
Reported by: Ludovic Courtès <ludo <at> gnu.org>
Date: Mon, 7 Dec 2020 15:23:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #23 received at 45102 <at> debbugs.gnu.org (full text, mbox):
Hi,
Mathieu Othacehe <othacehe <at> gnu.org> skribis:
>> The semantic difference should be invisible to users: their modules
>> are still visible and usable in manifests, in ‘guix repl’, etc.; they
>> just cannot take precedence over modules from Guile and from the
>> channels. For instance, one cannot define a (gnu packages base)
>> module or (ice-9 rdelim), drop it in $GUILE_LOAD_PATH, and have that
>> module picked up in lieu of the original one. I think that’s a
>> reasonable tradeoff.
>
> I think that's reasonable too. I tested it locally and have the
> following command:
>
> strace -c -e stat,openat ./pre-inst-env guix
>
> drop from 1671 calls to 1017 calls, which is nice.
You should try:
./pre-inst-env strace -c stat guix
but even then you’ll get more ‘stat’ calls than the ‘guix’ command
provided by ‘guix pull’.
You can run, say:
strace -c $(make as-derivation)/bin/guix
> The patchset looks good to me.
Cool, thanks!
Ludo’.
This bug report was last modified 4 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.