←back to thread

142 points chmaynard | 4 comments | | HN request time: 0.642s | source
1. vsskanth ◴[] No.42065443[source]
Anyone know of a windows equivalent to BOLT ?
replies(2): >>42069021 #>>42071879 #
2. Cieric ◴[] No.42069021[source]
Some google searching brought up this. https://learn.microsoft.com/en-us/cpp/build/profile-guided-o... I'm only reading over it now, but I'm going to test it out a bit when I can.
replies(1): >>42071233 #
3. dwattttt ◴[] No.42071233[source]
PGO describes the using extra data to guide optimisations, but it doesn't define what those optimisations are.

Reading the link, there's several that sound like they match what BOLT is applying (Basic Block Optimization, Function Layout, Conditional Branch Optimization, and Dead Code Separation).

4. neerajsi ◴[] No.42071879[source]
Microsoft had internal tooling very similar to bolt almost 20 years ago. Most of those opts were moved to the compiler in ltcg mode with pgo.