Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate Profile-Guided Optimization (PGO) on Yoga #1338

Open
1 task done
zamazan4ik opened this issue Jul 30, 2023 · 0 comments
Open
1 task done

Evaluate Profile-Guided Optimization (PGO) on Yoga #1338

zamazan4ik opened this issue Jul 30, 2023 · 0 comments

Comments

@zamazan4ik
Copy link

Report

According to the official website, one of the Yoga goals is performance. So I think would be a good idea to try to gain more performance by applying Profile-Guided Optimization (PGO) in Yoga.

Since Yoga is a library (not an executable), it could be a bit harder to do since for profile collection you need an executable. One of the things is to build the Yoga benchmark and Yoga library with PGO and measure the improvements.

If will be some performance improvements, would be helpful:

  • Write a note about PGO in Yoga documentation with performance improvement numbers.
  • Add an option to the build scripts for building Yoga library with PGO. In this case, for the users will be easier to rebuild Yoga for their own specific use cases

After that, I guess LLVM BOLT could be tested as well but I suggest trying BOLT only after PGO since PGO implementations in compilers are much more mature compared to BOLT (IMHO).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants