Closed jameshfisher closed 1 month ago
The SwiftPM output is misleading, I believe it actually spends most of its time compiling swift-syntax (which is a known upstream issue.)
The fact that it's slow every time is because we do a clean release build by default (which is something I've considered changing, open to input.) You can speed up subsequent builds a ton by instead running npx node-swift build
.
Sorry, yes, build
is a bajillion times faster than rebuild
! I'd make that the default, although I'm not sure of the tradeoffs. Thanks for your help!
Most of the time is spent in