https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92711
Bug ID: 92711
Summary: GCC 10 libxul.so -fprofile-generate binary is 360MB
while clang needs only 163MB.
Product: gcc
Version: 10.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: hubicka at gcc dot gnu.org
Target Milestone: ---
It seems that profiling became more expensive in GCC10 compared to clang or
previous GCC releases.
Clang binary is here
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/H_iSouCVTha9mEw9y5XO5Q/runs/0/artifacts/public/build/target.tar.bz2
more or less comparable GCC build is here
https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/NOUqVShcSMaJn5j3g5nEYg/runs/0/artifacts/public/build/target.tar.bz2
It also seems that profile streaming is slower in GCC build (which is important
since Firefox forks multiple times on startup and then when creating new tab
and that triggers profile data streamout).