Skip to content

Guides

How to make Windows CI faster

Windows jobs take three times as long as the equivalent Linux jobs.

6 min read

Windows jobs take three times as long as the equivalent Linux jobs.

Why it happens

Windows boots more slowly, Defender scans everything the checkout writes, and NuGet restore is network-chatty.

How to fix it

  1. Exclude the workspace from Defender real-time scanning
  2. Cache ~/.nuget/packages and restore with --locked-mode
  3. Build with MSBuild -m for parallel project builds
  4. Use a provider with warm Windows pools to remove the boot cost

Your next build could be twice as fast, at half the price

Start free. Migrating away is the same one line, and we publish that diff too.