Quick Notes102 words
Optimising a pipeline — quick notes
Optimising pipelines — quick notes
| Lever | Effect |
|---|---|
| Caching | Skip restore when the key matches |
| Parallelism | Independent work across jobs |
| Path filters | Skip the build entirely |
Matrix + maxParallel | Many legs, throttled |
| Artifacts | Build once, download downstream |
| Self-hosted | Warm caches persist |
- Measure first — the slow stage is rarely the assumed one.
- Cache key on the lockfile hash.
- Concurrency billing: parallelism is ~free with spare slots.
- Per-minute billing: parallelism cuts wall-clock but can raise total minutes.