Re: [go-nuts] Go 1.20 "cold start" slows down CI pipeline stages due to first building stdlib

2023-02-16 Thread TheDiveO
Many thanks! -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit

Re: [go-nuts] Go 1.20 "cold start" slows down CI pipeline stages due to first building stdlib

2023-02-16 Thread 'Sean Liao' via golang-nuts
- restore cache (go version as cache key) - go build std - save cache (GOCACHE) - original build steps follow here - sean On Thu, Feb 16, 2023, 19:54 TheDiveO wrote: > As Go 1.20 doesn't ship anymore with prebuild stlib packages, the first > build after installation will take longer.

[go-nuts] Go 1.20 "cold start" slows down CI pipeline stages due to first building stdlib

2023-02-16 Thread TheDiveO
As Go 1.20 doesn't ship anymore with prebuild stlib packages, the first build after installation will take longer. Obviously, in a full Kubernetes build this is negligible (if not outward laughable). But for many small CI Go build stages this probably eats considerably into CPU time and energy