summaryrefslogtreecommitdiff
path: root/.codecov.yml
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2019-12-21 23:45:47 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2019-12-23 18:36:56 -0800
commitd7f2a32887e8c05707ca3d9139a0a850d264222b (patch)
treed1090802d38a378e320bf67a2f51ca706a6e8cb8 /.codecov.yml
parent78b84e4adecc18f8e92844b11a627c54ac2ef7c8 (diff)
downloadspack-d7f2a32887e8c05707ca3d9139a0a850d264222b.tar.gz
spack-d7f2a32887e8c05707ca3d9139a0a850d264222b.tar.bz2
spack-d7f2a32887e8c05707ca3d9139a0a850d264222b.tar.xz
spack-d7f2a32887e8c05707ca3d9139a0a850d264222b.zip
performance: dont' read `spec.yaml` files twice in view regeneration
`ViewDescriptor.regenerate()` calls `get_all_specs()`, which reads `spec.yaml` files, which is slow. It's fine to do this once, but `view.remove_specs()` *also* calls it immediately afterwards. - [x] Pass the result of `get_all_specs()` as an optional parameter to `view.remove_specs()` to avoid reading `spec.yaml` files twice.
Diffstat (limited to '.codecov.yml')
0 files changed, 0 insertions, 0 deletions