spack/lib/spack
Todd Gamblin af0f94a1af
Avoid stat-ing all packages at startup. (#7587)
- FastPackageChecker was being called at startup every time Spack runs,
  which takes a long time on networked filesystems.  Startup was taking
  5-7 seconds due to this call.

- The checker was intended to avaoid importing all packages (which is
  really expensive) when all it needs is to stat them.  So it's only
  "fast" for parts of the code that *need* it.

- This commit makes repositories instantiate the checker lazily, so it's
  only constructed when needed.
2018-03-24 07:39:10 -07:00
..
docs Generate spack docset for Dash. (#6981) 2018-03-21 16:37:26 -05:00
env Replace github.com/llnl/spack with github.com/spack/spack (#6142) 2017-11-04 17:08:04 -07:00
external Fix issues with spack [cmd] -h help output 2018-02-12 20:25:17 -08:00
llnl Record installation date and time in DB (#7334) 2018-03-22 11:07:27 -07:00
spack Avoid stat-ing all packages at startup. (#7587) 2018-03-24 07:39:10 -07:00