summaryrefslogtreecommitdiff
path: root/.flake8
diff options
context:
space:
mode:
authorAndrew W Elble <aweits@rit.edu>2020-03-20 20:05:51 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2020-04-15 12:47:00 -0700
commit6b559912c1deb47820cf8bce10028c770adaf5b8 (patch)
tree365cadb658eae3b2417ca4098b9afdeed818801f /.flake8
parent9b5805a5cd8c35e4be84f919560e9bef605cd2ab (diff)
downloadspack-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 '.flake8')
0 files changed, 0 insertions, 0 deletions