Skip to content

Workflows

How do I run Go race detector tests?

Quick answer

Run go test -race. Expect roughly 2–10× slower execution and higher memory use.

The detail that matters

Give the job more cores and memory than the non-race job, or it will look like the detector hung.

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.