top | item 47183994

(no title)

anematode | 2 days 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.

discuss

order

tptacek|2 days ago

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

https://go.dev/doc/pgo

karel-3d|2 days ago

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.