[Bug tree-optimization/92924] [10 regression] reproducible indirect call profile merging causes 80% slowdown in Firefox pref-reftest-singletons id-getter microbenchmarks
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 30 09:30:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92924
--- Comment #22 from Martin Liška <marxin at gcc dot gnu.org> ---
For GCC I see the frequency of only one target aligned:
== Stats for before ==
stats for indirect_call:
total: 9210 freq: 5943636909
not executed at all: 6249
invalid: 669 (7.26%) freq:2219809025 (37.35%)
only one target: 1786 (19.39%) freq:2260086892 (38.03%)
useful values (with not one target):
0 values: 23 times (0.25%) freq: 48191810 (0.81%)
1 values: 271 times (2.94%) freq: 1136761204 (19.13%)
2 values: 180 times (1.95%) freq: 200890480 (3.38%)
3 values: 32 times (0.35%) freq: 77897498 (1.31%)
4 values: 0 times (0.00%) freq: 0 (0.00%)
Top 10 invalid counters:
freq: 10.25%: [609379302, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 5.46%: [324403834, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 2.91%: [172847042, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.71%: [101514216, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.34%: [79624322, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 0.94%: [55632805, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 0.94%: [55597131, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 0.94%: [55597131, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 0.84%: [49651232, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 0.83%: [49464348, 0, -1, 0, 0, 0, 0, 0, 0]
stats for topn:
total: 1514 freq: 1761607630
not executed at all: 1030
invalid: 194 (12.81%) freq:1013865281 (57.55%)
only one target: 149 (9.84%) freq:362258875 (20.56%)
useful values (with not one target):
0 values: 9 times (0.59%) freq: 4461379 (0.25%)
1 values: 75 times (4.95%) freq: 287705112 (16.33%)
2 values: 50 times (3.30%) freq: 91245278 (5.18%)
3 values: 7 times (0.46%) freq: 2071705 (0.12%)
4 values: 0 times (0.00%) freq: 0 (0.00%)
Top 10 invalid counters:
freq: 27.67%: [487364997, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 3.84%: [67628999, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 3.40%: [59963262, 0, -1, 0, 0, 0, 0, 168, 10778]
freq: 2.48%: [43755335, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 2.40%: [42351035, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.31%: [23145472, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.27%: [22324265, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.06%: [18684932, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.05%: [18472316, 0, -1, 0, 0, 0, 0, 0, 0]
freq: 1.00%: [17554178, 0, -1, 0, 0, 8, 8986, 0, 0]
== Stats for norepro/ ==
stats for indirect_call:
total: 9210 freq: 5943646470
not executed at all: 6249
invalid: 0 (0.00%) freq:0 (0.00%)
only one target: 1786 (19.39%) freq:2260089402 (38.03%)
useful values (with not one target):
0 values: 132 times (1.43%) freq: 1348815836 (22.69%)
1 values: 571 times (6.20%) freq: 1909318242 (32.12%)
2 values: 407 times (4.42%) freq: 294668554 (4.96%)
3 values: 65 times (0.71%) freq: 130754436 (2.20%)
4 values: 0 times (0.00%) freq: 0 (0.00%)
stats for topn:
total: 1514 freq: 1761608637
not executed at all: 1030
invalid: 0 (0.00%) freq:0 (0.00%)
only one target: 149 (9.84%) freq:362258979 (20.56%)
useful values (with not one target):
0 values: 76 times (5.02%) freq: 634460484 (36.02%)
1 values: 156 times (10.30%) freq: 592617317 (33.64%)
2 values: 84 times (5.55%) freq: 152569156 (8.66%)
3 values: 17 times (1.12%) freq: 19702684 (1.12%)
4 values: 2 times (0.13%) freq: 17 (0.00%)
More information about the Gcc-bugs
mailing list