diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-10-12 14:42:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-10-12 15:18:25 +0200 |
commit | 099dbc4fd332d27a5010f17093f1d6b09d26212e (patch) | |
tree | bc24269f6ce1eeb9372ae16b9cfa48faedac73b6 /gnu/services/desktop.scm | |
parent | d7e29a2b265a249d053f4763edd00e717ce8388d (diff) | |
download | patches-099dbc4fd332d27a5010f17093f1d6b09d26212e.tar patches-099dbc4fd332d27a5010f17093f1d6b09d26212e.tar.gz |
gnu: Improve memoization of 'package-with-bootstrap-guile'.
Before that, the command:
GUIX_PROFILING=memoization guix build -e '(@@ (gnu packages commencement) gnu-make-final)' -nd
would show that 'package-with-bootstrap-guile' was called 2256
times (hit rate: 89%). Now, it is called 745 times (hit rate: 85%).
"guix build libreoffice -nd" goes from 2.60s to 2.40s (-8%).
* gnu/packages/commencement.scm (gnu-make-final)
(coreutils-final, grep-final, sed-final, %final-inputs): Call
'package-with-bootstrap-guile' before 'package-with-explicit-inputs'.
Diffstat (limited to 'gnu/services/desktop.scm')
0 files changed, 0 insertions, 0 deletions