diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-04-17 23:15:34 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-04-17 23:17:21 +0200 |
commit | 69cb9f7eeef967ed80a6e75388e488361310f115 (patch) | |
tree | 0708136230482df48cb656d0f594040c53c191bc /precompiled-headers.h | |
parent | aaa109565e4fb662e423f23bc48c9ad9831dd281 (diff) |
Wrap eval cache creation in a giant transaction
This speeds up the creation of the cache for the nixpkgs flake from
21.2s to 10.2s. Oddly, it also speeds up querying the cache
(i.e. running 'nix flake show nixpkgs/nixos-20.03 --legacy') from 4.2s
to 3.4s.
(For comparison, running with --no-eval-cache takes 9.5s, so the
overhead of building the SQLite cache is only 0.7s.)
Diffstat (limited to 'precompiled-headers.h')
0 files changed, 0 insertions, 0 deletions