aboutsummaryrefslogtreecommitdiff
path: root/src/libstore/nar-info.cc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-21 17:40:40 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-21 17:50:39 +0200
commitd57981bac488e5928218e0eaeae58bd817c74727 (patch)
tree9c2cc5a3dce844089c58892bf3cbf7bb300ef115 /src/libstore/nar-info.cc
parent6f70fcd1c574e0d4900b5d0d55d22d6053e9826c (diff)
Store::queryMissing(): Use a thread pool
For one particular NixOS configuration, this cut the runtime of "nix-store -r --dry-run" from 6m51s to 3.4s. It also fixes a bug in the size calculation that was causing certain paths to be counted twice, e.g. before: these paths will be fetched (1249.98 MiB download, 2995.74 MiB unpacked): and after: these paths will be fetched (1219.56 MiB download, 2862.17 MiB unpacked):
Diffstat (limited to 'src/libstore/nar-info.cc')
0 files changed, 0 insertions, 0 deletions