TGViewer
Go Go @golang · 19.2K subscribers
Post #152 39.3K
Profile-guided optimisation (PGO) is a technique where CPU profile data for an application is collected and fed back into the next compiler build of Go application. The compiler then uses this CPU profile data to optimise the performance of that build by around 2-14% currently (future releases could likely improve this figure further).

In this article, the Grab tech folks show off their wins and learnings, along with the Dockerfile used to make it happen.

https://engineering.grab.com/profile-guided-optimisation

Enjoy!
  • ❤ 70
  • 👍 59
  • 🔥 25
  • 🤔 24
  • 👏 21
  • 🤯 5
More from @golang
  1. Oct 1, 2026It's been a while... Everything is going agentic, so there is rather an interesting projec…
  2. Mar 20, 2026If you’re working with Go and care about performance, then check out the https://goperf.de…
  3. Jan 17, 2026Are Atomic Operations Faster and Better Than a Mutex? It Depends From the author: "Recentl…
  4. Nov 29, 2025Hello, folks, it's been a while. Re-sharing an interetsting recording from GopherCon 2025:…
  5. Aug 18, 2025Be Careful with Go Struct Embedding Embedding structs can quietly mask deeper-nested field…
  6. May 31, 2025What's new in Go: Google I/O presentation https://www.youtube.com/watch?v=kj80m-umOxs&ab_c…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →