build-speed

Installation
SKILL.md

build-speed — measure, then change one thing, then measure the same way

A build is made faster by finding where the minutes go. Guessing goes to the step that looks heavy; measuring goes to the step that is. On this repository's own gate one step, lib tests run in a single worker, was 21–30 of 28–38 measured minutes: 75–80% of the gate. Eight workers took that step to 5 minutes; no cache would have.

1. Measure before anything changes

  • Per step, not in total. The duration of each step from the CI log or the runner's API (gh run view --json jobs, the TAP duration_ms, timestamps around each step). A total says the build is slow; steps say where.
  • At least three runs of unchanged code. Write down the range, not one number: a shared runner and a busy laptop both vary by a third.
  • Note the conditions. Runner type, cores, cache state (cold or warm), concurrency flags. A measurement without its conditions cannot be repeated.

2. Pick one step and a target

Installs
1
GitHub Stars
117
First Seen
8 days ago