Silicon Valley D Meetup - December 14, 2017 - "Experimenting with Link Time Optimization" by Jon Degenhardt

Jon Degenhardt jond at noreply.com
Wed Dec 20 20:56:39 UTC 2017


On Saturday, 16 December 2017 at 11:52:37 UTC, Johan Engelen 
wrote:
> Clearly very interested in what your PGO testing will show. :-)

Early returns on adding PGO on top of LTO (first five benchmarks 
in the slide deck, tsv-join not tested):
* Two meaningful improvements:
   - csv2tsv: Linux: 8%; macOS: 33%
   - tsv-summarize: Linux: 6%; macOS: 11%
* Minor improvements on the other three benchmarks (< 5%)

Overall, for LDC 1.5, the improvements going from a normal 
optimized build to one combining LTO and PGO ranged from on 8-45% 
Linux, and 6-57% on macOS. (First five benchmarks, excluding 
tsv-join). Impressive!

--Jon


More information about the Digitalmars-d-announce mailing list