diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-05 23:40:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-05 23:45:39 +0100 |
commit | 76c31074c89239bda31b29e78e63e878b17a57f9 (patch) | |
tree | 2037b36a26d29bc7dffdea1c5bb84151c97362e7 /gnu | |
parent | fbec5abeef78ee52a56e3cd2183fd34baec47773 (diff) | |
download | guix-patches-76c31074c89239bda31b29e78e63e878b17a57f9.tar guix-patches-76c31074c89239bda31b29e78e63e878b17a57f9.tar.gz |
derivations: Share a cache between 'derivation' and 'read-derivation'.
This leads a 13% speedup on 'guix build libreoffice -d' and 18% on
'guix build gnome -d'.
* guix/derivations.scm (%derivation-cache): New variable.
(read-derivation): Use it instead of the private 'cache' variable.
(derivation): Populate %DERIVATION-CACHE before returning.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions