3 Commits
Author SHA1 Message Date
sneeker 82afcaf27f fix(watch): drop the digest memo between rounds 2022-08-17 19:24:25 +00:00
sneeker 2ce144e8aa perf(cache): memoise file digests and invalidate them on write
A header included by fourteen translation units was hashed once per dependent,
and every built action hashed its inputs twice: once to decide it was stale and
again to store the new key. Digests are now memoised for the run, and the
scheduler drops the entries for an action's outputs and depfile once it
finishes, so a freshly written file is never read from the memo.
2022-07-12 08:44:33 +00:00
sneeker a4abbbdc3c feat(cache): key actions on content, argv and the real input set
Digests every input plus the exact argument vector into one key, persisted
under the build directory. Staleness becomes a content question rather than a
timestamp comparison.
2022-06-12 01:49:31 +00:00