diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-05-13 16:47:49 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-05-18 23:27:08 +0200 |
commit | 2f170893719e6e9fc8e19cc5f0568e20a95d92b4 (patch) | |
tree | abe252f22493e7ea9b111ab7898d7d4e0921a6ed /configure.ac | |
parent | 001f4afd0771bafe1f17e709070b8ef56b5bdfea (diff) | |
download | guix-2f170893719e6e9fc8e19cc5f0568e20a95d92b4.tar.gz guix-2f170893719e6e9fc8e19cc5f0568e20a95d92b4.zip |
store: Use a decaying cutoff in 'map/accumulate-builds'.
This reduces the wall-clock time of:
./pre-inst-env guix system vm gnu/system/examples/desktop.tmpl -n
from 2m13s to 53s (the timings depend on which derivations have already
been built and are in store; in this case, many were missing).
* guix/store.scm (default-cutoff): New variable.
(map/accumulate-builds): Use it. Parameterize it in recursive calls to
have decaying cutoff.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions