Skip to content

Commit fb1f47a

Browse files
rugginosobradfitz
authored andcommitted
cmd/compile: speed up TestAssembly
TestAssembly was very slow, leading to it being skipped by default. This is not surprising, it separately invoked the compiler and parsed the result many times. Now the test assembles one source file for arch/os combination, containing the relevant functions. Tests for each arch/os run in parallel. Now the test runs approximately 10x faster on my Intel(R) Core(TM) i5-6600 CPU @ 3.30GHz. Fixes #18966 Change-Id: I45ab97630b627a32e17900c109f790eb4c0e90d9 Reviewed-on: https://go-review.googlesource.com/37270 Run-TryBot: Brad Fitzpatrick <[email protected]> TryBot-Result: Gobot Gobot <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
1 parent 349b782 commit fb1f47a

File tree

1 file changed

+559
-438
lines changed

1 file changed

+559
-438
lines changed

0 commit comments

Comments
 (0)