Profile-Guided Optimization (PGO) support in D ecosystem

Sergey kornburn at yandex.ru
Fri Nov 10 13:09:01 UTC 2023


On Friday, 10 November 2023 at 12:47:56 UTC, Alexander Zaitsev 
wrote:
> Hi!
>
>
> Similar questions about LDC in the upstream: 
> https://github.com/ldc-developers/ldc/discussions/4524
>
> Thanks a lot for the help!

Hi,

Some internal details about PGO is in this article: 
https://archive.fosdem.org/2017/schedule/event/ldc_d_optimization/attachments/slides/1819/export/events/attachments/ldc_d_optimization/slides/1819/FOSDEM_2017.pdf

and blog posts from LDC dev:
http://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html
http://johanengelen.github.io/ldc/2016/04/13/PGO-in-LDC-virtual-calls.html

For PGO + LTO example of usage and the performance improvements, 
I think one of the most helpful source is this repo:

https://github.com/eBay/tsv-utils/blob/master/docs/BuildingWithLTO.md
https://github.com/eBay/tsv-utils/blob/master/docs/lto-pgo-study.md


More information about the Digitalmars-d mailing list