diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-02-01 16:07:18 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-02-01 16:07:18 +0100 |
commit | 73744725dd0a65cddaa9251f104f17ca27756479 (patch) | |
tree | 2966045fae60d99a9785f61e0580556653afc68e /tests/offload.scm | |
parent | 93af2ac871addc7755ea542928124d416f1a0361 (diff) | |
download | guix-73744725dd0a65cddaa9251f104f17ca27756479.tar guix-73744725dd0a65cddaa9251f104f17ca27756479.tar.gz |
tests: Optimize 'fold-available-packages' test.
This test goes from 58s to 10s wall-clock time.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.
* tests/packages.scm ("fold-available-packages with/without cache"):
Remove 'find-duplicates'. Add 'list->set*' and use it instead of
'find-duplicates', 'delete-duplicates', and 'lset='.
Diffstat (limited to 'tests/offload.scm')
0 files changed, 0 insertions, 0 deletions