portage-bashrc-mv icon indicating copy to clipboard operation
portage-bashrc-mv copied to clipboard

add PGO to llvm/clang

Open galdutro13 opened this issue 3 years ago • 0 comments

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.

galdutro13 avatar Oct 02 '21 17:10 galdutro13