You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
internal/core/adt: run evaluator tests in parallel
Now that a pesky data race spotted by these has been resolved
in the previous commit, we can safely run these in parallel.
On my laptop, `go test` drops from ~4.9s to ~1.8s,
and `go test -race` drops fro ~29s to ~12s.
CI should see a similar ~2.5x speed-up, given that it has 8 CPUs.
This is especially nice, as the slowest step is `go test -race ./...`,
and it spends most of its time in the adt package.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I105b20fa5bb54c9ce66db938f3288c9f766c6872
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1218152
Reviewed-by: Marcel van Lohuizen <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments