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

add PGO to llvm/clang #28

Open
galdutro13 opened this issue Oct 2, 2021 · 0 comments
Open

add PGO to llvm/clang #28

galdutro13 opened this issue Oct 2, 2021 · 0 comments

Comments

@galdutro13
Copy link

There are some packages that I've managed to build with PGO using clang that with gcc the profiling phase happens to be incorrect and result in worse performance. An example is webkit-gtk where I've managed to gain about 12 percent more performance in some javascript benchmark like jetstream 2 through clang pgo, where gcc simply gets confused because of the change of directories of the source files that happen during build.
The problem is that you have to run 'llvm-profdata merge" after the data is collected from the instrumented runs, so it also would need to disable sandboxing.

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

No branches or pull requests

1 participant