Memoise per-run git lookups #7
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem:
cat-filex2 per env andrev-parseper env per git module spawn ~830 processes for 3 distinct refs on a 300-env cold run; 98% of their time is -j slot wait.Proposal: cache
(repo, ref) -> shaand(repo, sha, path) -> blobfor the life of one run.Acceptance: process count for those calls equals distinct keys; env.puppetfile and module.resolve p95 drop under 50ms on the bench.