https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60243
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2018-11-19 00:00:00 |2024-2-19 --- Comment #28 from Richard Biener <rguenth at gcc dot gnu.org> --- Original testcase at -O2: callgraph functions expansion : 11.94 ( 51%) 2.19 ( 42%) 14.14 ( 49%) 570M ( 40%) callgraph ipa passes : 10.00 ( 43%) 0.70 ( 13%) 10.70 ( 37%) 601M ( 42%) ipa profile : 4.68 ( 20%) 0.00 ( 0%) 4.68 ( 16%) 0 ( 0%) TOTAL : 23.36 5.22 28.60 1430M 23.36user 5.27system 0:28.65elapsed 99%CPU (0avgtext+0avgdata 1152100maxresident)k 0inputs+0outputs (0major+315833minor)pagefaults 0swaps Jakubs testcase at -O2: callgraph functions expansion : 12.66 ( 30%) 2.21 ( 16%) 14.87 ( 27%) 505M ( 15%) callgraph ipa passes : 18.28 ( 44%) 0.65 ( 5%) 18.94 ( 34%) 601M ( 18%) ipa profile : 4.20 ( 10%) 0.00 ( 0%) 4.20 ( 8%) 0 ( 0%) preprocessing : 1.47 ( 4%) 3.27 ( 24%) 4.81 ( 9%) 417M ( 12%) lexical analysis : 2.24 ( 5%) 4.08 ( 30%) 6.34 ( 11%) 0 ( 0%) early inlining heuristics : 2.83 ( 7%) 0.04 ( 0%) 2.97 ( 5%) 1658k ( 0%) inline parameters : 3.01 ( 7%) 0.21 ( 2%) 3.16 ( 6%) 29M ( 1%) tree CFG construction : 3.44 ( 8%) 0.15 ( 1%) 3.52 ( 6%) 599M ( 18%) tree operand scan : 4.47 ( 11%) 0.26 ( 2%) 4.80 ( 9%) 93M ( 3%) TOTAL : 41.73 13.57 55.32 3422M 41.73user 13.67system 0:55.42elapsed 99%CPU (0avgtext+0avgdata 2374596maxresident)k 0inputs+0outputs (0major+536990minor)pagefaults 0swaps so besides a faster machine still like Honza said in the last comment.