On Wednesday 2 October 2024 at 18:11:10 UTC+1 opennota wrote: Cold-start builds are slow af on my machine (think tens of minutes), and have been like that since around Go 1.20.
Have you ruled out that it's not anything to do with the automatic fetching of toolchains, introduced in 1.21 I think? But it still shouldn't take "tens of minutes" unless you have a very slow connection. It's very weird if even "hello world" is affected. You could try: strace -f -tt go build hello.go 2>strace.out and then look in strace.out to see if there are any long pauses, and if so, what was going on around that time. -- 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 https://groups.google.com/d/msgid/golang-nuts/5a05d640-927a-4297-b50a-7faf388c7bc8n%40googlegroups.com.