Hacker News new | ask | show | jobs
by tptacek 111 days ago
Yep. `go build -pgo=foo.pprof`

https://go.dev/doc/pgo

1 comments

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.