Test whether using cmd/compile and cmd/link directly is faster
mvdan opened this issue · 1 comments
mvdan commented
We use go build
right now. We should test if using the compiler and linker directly noticeably speeds up the compiler roundtrip.
mvdan commented
Actually, their use is not as simple as it sounds - we have to take care of -L
and -I
, for example. And not even sure if the speedup would be noticeable - on a simple program importing a non-trivial non-std package, go build
clocks in at ~170ms, while compile
is ~30ms and link
is ~140ms.
Not going to consider this for now.