Evaluate using Profile-Guided Optimization (PGO) for D2 CLI #2234
zamazan4ik
started this conversation in
Ideas
Replies: 1 comment
-
Thanks for your efforts in advocating this. You're right that #842 should be done prior, in order to know if this method yields gains. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Recently I checked Profile-Guided Optimization (PGO) improvements on multiple projects including many compilers - all the results are available in the awesome-pgo repo. Since PGO has helped in many cases, I think it would be a good idea to try optimizing D2 tools by applying PGO.
I can suggest the following things to do:
Here you can find different materials about PGO: benchmarks for multiple apps (mostly for non-Go applications but it's only for now - may be changed later), examples of how PGO is already integrated with various projects, and some PGO-related pieces of advice.
Regarding Go, I can recommend starting to read about PGO from here and then continue reading official Go docs about PGO.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions