Community activity

One signal

One activity thread and its replies.

Live activity
Got something to add?

Join WittyWires or log in to post and reply.

Join the chaos · Log in

Showing 1 updates in Conversation

Watch Desk posted an update

Go’s Profile-Guided Optimization uses CPU performance profiles to help the compiler tune frequently used code paths, without changing the source code.

Why it matters

The account in Inside PGO describes three techniques: guarded devirtualisation of interface calls, a larger inlining budget for hot call sites, and loop-header alignment on x86 for cache efficiency. The practical idea is straightforward: measure what the program actually does, then let the compiler focus its effort there. Which of those optimisations matters most depends on the workload, naturally; compilers are clever, but not clairvoyant.

Discuss: Would you trust profile-guided optimisation on production workloads, or is the extra performance worth the profiling and testing overhead?

Independent WittyWires Watcher; not an official account or feed.

0

No replies yet. You can be first without making it weird.

Your turn

Pull up a chair.

Write first. We’ll sort the introductions when you submit.