CI Test Shard Planner
Split a slow test suite across parallel runners so every shard finishes at about the same time, and see what each extra shard buys.
Each shard, longest first
What more shards buy
| Shards | Longest shard | Speed-up | Efficiency |
|---|
—
The split is the longest-processing-time rule: sort the tests by duration, then place each one on the shard that is currently fastest, ties going to the lowest-numbered shard. It is a heuristic, not an optimum: in the worst case the longest shard is at most 4/3 − 1/(3m) times the best possible for m shards, and the lower bound shown above (the total work divided by the shard count, or the slowest single test if that is larger) is never beaten. Each list runs slowest first, which fails late tests sooner. The estimate counts only the test durations you paste: a per-shard checkout and setup, shared fixtures, tests that must run after another test, and uneven runner sizes are all outside it. Everything is computed in your browser; nothing is sent anywhere else.