[Bug c++/101163] slow compilation for huge classes (>20k members)
rbuergel at web dot de
gcc-bugzilla@gcc.gnu.org
Tue Jun 22 09:27:15 GMT 2021
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101163
--- Comment #1 from René Bürgel <rbuergel at web dot de> ---
-ftime-report for trunk-gcc says:
Time variable usr sys wall
GGC
phase setup : 0.00 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
1562k ( 4%)
phase parsing : 4.75 (100%) 0.11 (100%) 5.09 (100%)
36M ( 96%)
|name lookup : 4.51 ( 95%) 0.05 ( 45%) 4.76 ( 93%)
2088k ( 5%)
garbage collection : 0.01 ( 0%) 0.00 ( 0%) 0.01 ( 0%)
0 ( 0%)
preprocessing : 0.04 ( 1%) 0.05 ( 45%) 0.07 ( 1%)
4449k ( 12%)
parser (global) : 0.02 ( 0%) 0.00 ( 0%) 0.04 ( 1%)
3647k ( 9%)
parser struct body : 4.63 ( 97%) 0.05 ( 45%) 4.91 ( 96%)
9128k ( 24%)
symout : 0.05 ( 1%) 0.01 ( 9%) 0.06 ( 1%)
19M ( 51%)
TOTAL : 4.75 0.11 5.10
37M
It seems to be an issue in the name lookup, if I interpret that right...
More information about the Gcc-bugs
mailing list