diff options
author | Andrew W Elble <aweits@rit.edu> | 2020-03-20 20:05:51 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2020-04-15 12:47:00 -0700 |
commit | 6b559912c1deb47820cf8bce10028c770adaf5b8 (patch) | |
tree | 365cadb658eae3b2417ca4098b9afdeed818801f /NOTICE | |
parent | 9b5805a5cd8c35e4be84f919560e9bef605cd2ab (diff) | |
download | spack-6b559912c1deb47820cf8bce10028c770adaf5b8.tar.gz spack-6b559912c1deb47820cf8bce10028c770adaf5b8.tar.bz2 spack-6b559912c1deb47820cf8bce10028c770adaf5b8.tar.xz spack-6b559912c1deb47820cf8bce10028c770adaf5b8.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 'NOTICE')
0 files changed, 0 insertions, 0 deletions