lecture 11 of 160 completed

Parallelisation, Cloud, and what runtime costs

Cypress splits work by spec file, and that single fact drives how you organise a suite for speed.

What you'll learn

  • Why Cypress splits work by spec file
  • Why your slowest spec sets the floor
  • The order to optimise in before buying machines

Your pipeline takes forty minutes. Every merge waits for it. Engineers start merging without waiting, and the suite stops being a gate.

Runtime is a budget a senior engineer is accountable for, and reducing it starts with one fact about how Cypress parallelises.

Cypress splits work by spec file, not by test.

That is the whole thing. Ten machines and ten spec files gives you ten-way parallelism. Ten machines and one enormous spec file gives you one machine working and nine idle.

Two consequences follow immediately.

members only

Keep reading with the full course

The Foundations track and the first 5 lectures of each framework are free. This lecture is part of the paid course, which unlocks every lecture, all three frameworks, and downloads.

See the options →