summary refs log tree commit diff
path: root/gnu.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-10-12 14:42:36 +0200
committerLudovic Courtès <ludo@gnu.org>2019-10-12 15:18:25 +0200
commit099dbc4fd332d27a5010f17093f1d6b09d26212e (patch)
treebc24269f6ce1eeb9372ae16b9cfa48faedac73b6 /gnu.scm
parentd7e29a2b265a249d053f4763edd00e717ce8388d (diff)
downloadguix-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.scm')
0 files changed, 0 insertions, 0 deletions