Replies: 4 comments
-
How to build a recent version of autofdo:
perf records a good amoung of events ( |
Beta Was this translation helpful? Give feedback.
-
Does FDO ever give better results than full PGO? |
Beta Was this translation helpful? Give feedback.
-
Yes, examples showed similar to slightly better results than full PGO. For FDO you run unmodified code without instrumentation under Reuse of FDO profiles sounds appealing to me, too. Downside: I cannot get it work (yet). |
Beta Was this translation helpful? Give feedback.
-
Try definitely give this a try. |
Beta Was this translation helpful? Give feedback.
-
AutoFDO is a sampling-based optimization technique supported by clang and gcc. It uses perf to collect sampling data. FDO seems to have some benefits over PGO. For example it does not require special PGO profiling builds. FDO profiles can be shared and reused even after moderate code changes.
Resources:
Beta Was this translation helpful? Give feedback.
All reactions