Optimizing Clang: A Practical Example of Applying BOLT
github.com
github.com
Most of the time when I read about something that provides this much improvement on a major application, it turns out that the comparison isn't quite what it seems (as in, they are using -O0 as a baseline or some such). But from what I can tell, this is a genuine improvement over the best alternative.
Congratulations to the authors on a great job!
Is BOLT used much in the wild? I'd love to see it applied to something like Chrome or Firefox. A double digit performance increase would be huge improvement for a browser's html/css parsers and rendering engine.
For bonus points, collect discrete perf data from each component build.
Apparently the conversion tool can fold in multiple datasets into a profile. It would be interesting to see whether an aggregate profile would produce the same level of efficiency as opposed to dedicated profiles for each major tool.