logoalt Hacker News

anematodeyesterday at 6:45 PM1 replyview on HN

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.


Replies

tptacekyesterday at 7:00 PM

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

https://go.dev/doc/pgo

show 1 reply