diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-02 22:22:20 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-09-03 07:41:38 -0700 |
commit | d79f85d763ee3601f54e8b48d56a779d28dd2947 (patch) | |
tree | a111812820853b2fc95c54f4fc48e11c1f2124c0 /.dockerignore | |
parent | ae41ef914602b3d957f7567ee571b58a3ef32134 (diff) | |
download | spack-d79f85d763ee3601f54e8b48d56a779d28dd2947.tar.gz spack-d79f85d763ee3601f54e8b48d56a779d28dd2947.tar.bz2 spack-d79f85d763ee3601f54e8b48d56a779d28dd2947.tar.xz spack-d79f85d763ee3601f54e8b48d56a779d28dd2947.zip |
perf: spack find -p now does only one DB transaction
`spec.prefix` reads from Spack's database, and if you do this with
multiple consecutive read transactions, it can take a long time. Or, at
least, you can see the paths get written out one by one.
This uses an outer read transaction to ensure that actual disk locks are
acquired only once for the whole `spack find` operation, and that each
transaction inside `spec.prefix` is an in-memory operation. This speeds
up `spack find -p` a lot.
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions