[compiler-rt] [llvm] [TypeProf][InstrFDO]Omit vtable symbols in indexed profiles by default (PR #96520)
Mingming Liu via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 25 11:45:11 PDT 2024
minglotus-6 wrote:
> How much overhead does it add to the indexed profile?
I have a raw profile at hand for a search binary with large ELF size. Its raw profile size is 507M.
* With `--keep-vtable-symbol=true`, indexed profile `profile.profdata` is 901M.
* With `--keep-vtable-symbol=false`, indexed profie `profile.profdata` is 893M.
So this is ~8M out of ~900M; but something nice to have (e.g., for deployment, and for faster indexed profile generation).
p.s. I'm doing a wider range of testing for `--enable-vtable-value-profiling` so could gather profile size diff for other binaries as a side work.
https://github.com/llvm/llvm-project/pull/96520
More information about the llvm-commits
mailing list