Remix.run Logo
anematode 5 hours ago

Awesome stuff! Does Go have profile-guided optimization? I'm wondering whether a profile could hint to the compiler how large to make the pre-reserved stack space.

tptacek 4 hours ago | parent [-]

Yep. `go build -pgo=foo.pprof`

https://go.dev/doc/pgo

karel-3d an hour ago | parent [-]

I never noticed much difference with using pgo even after taking a very long real life profile. All the machinery required to get it and put it to CI was never worth the speed-up. Of course YMMV.