https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119387

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[14/15 Regression]          |[14 Regression] Regression
                   |Regression in performance   |in performance by a factor
                   |by a factor of 6 when       |of 6 when building with
                   |building with debugging     |debugging symbols since
                   |symbols since r14-5979      |r14-5979
      Known to work|                            |15.0

--- Comment #18 from Richard Biener <rguenth at gcc dot gnu.org> ---
trunk is now faster than GCC 13, using about the same amount of memory without
-g and only slightly more with -g.  I consider the regression fixed on trunk
sofar.

It also hides the GC allocation issue somewhat.  The profile is now dominated
by the C++ FE:

Samples: 130K of event 'cycles:P', Event count (approx.): 137748911889          
Overhead       Samples  Command  Shared Object         Symbol                   
  17.11%         22269  cc1plus  cc1plus               [.]
find_substitution(tree_node*)
  10.23%         13305  cc1plus  cc1plus               [.]
comptypes(tree_node*, tree_node*, int)
   5.17%          6566  cc1plus  cc1plus               [.]
ggc_internal_alloc_no_dtor(unsigned long, void (*)
   2.79%          3517  cc1plus  cc1plus               [.]
reparent_child(die_struct*, die_struct*)
   2.15%          2824  cc1plus  cc1plus               [.]
gt_ggc_mx_lang_tree_node(void*)
   1.83%          2382  cc1plus  cc1plus               [.] ggc_set_mark(void
const*)

Reply via email to