diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-03-20 20:05:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-20 17:05:51 -0700 |
commit | e4d225043f08c9c27900258091bc24a4bb55c272 (patch) | |
tree | 4d586c29a37e298b16c273336354014def756a68 /LICENSE-APACHE | |
parent | e2125c26cea1752ca04aafb0228b7034a33e5f64 (diff) | |
download | spack-e4d225043f08c9c27900258091bc24a4bb55c272.tar.gz spack-e4d225043f08c9c27900258091bc24a4bb55c272.tar.bz2 spack-e4d225043f08c9c27900258091bc24a4bb55c272.tar.xz spack-e4d225043f08c9c27900258091bc24a4bb55c272.zip |
performance: add a verification file to the database (#14693)
Reading the database repeatedly can be quite slow. We need a way to speed
up Spack when it reads the DB multiple times, but the DB has not been
modified between reads (which is nearly all the time).
- [x] Add a file containing a unique uuid that is regenerated at database
write time. Use this uuid to suppress re-parsing the database
contents if we know a previous uuid and the uuid has not changed.
- [x] Fix mutable_database fixture so that it resets the last seen
verifier when it resets.
- [x] Enable not rereading the database immediately after a write. Make
the tests reset the last seen verifier in between tests that use the
database fixture.
- [x] make presence of uuid module optional
Diffstat (limited to 'LICENSE-APACHE')
0 files changed, 0 insertions, 0 deletions