This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

C++ front end slow on MicoORB's current.cc


Hi,

Karel Gardas's MicoORB has already shown to be a real compiler killer, see
for example ir.ii which exposed the exponential behavior in synth_mult, or
typecode.ii which demonstrated a few other less serious bottlenecks.

And we have a new winner.  I have this profile from gprof for current.cc:

current.cc.ii.profile

  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  5.30      1.41     1.41  1281802     0.00     0.00  lookup_fnfields_1
  4.59      2.63     1.22  2501425     0.00     0.00  comptypes
  3.57      3.58     0.95   266122     0.00     0.00  dfs_walk_all
  2.71      4.30     0.72   395340     0.00     0.00  make_node_stat
  2.33      4.92     0.62  1574958     0.00     0.00  ggc_alloc_stat
  2.18      5.50     0.58  3887115     0.00     0.00  dfs_find_final_overrider_pre
  1.99      6.03     0.53     2350     0.00     0.00  store_bindings
  1.92      6.54     0.51   191164     0.00     0.00  copy_node_stat
  1.54      6.95     0.41   143221     0.00     0.00  walk_tree
  1.43      7.33     0.38  1040141     0.00     0.00  look_for_overrides_here

Perhaps a C++ maintainer could investigate this?  I've put the file up
for download on http://hekje1.shuis.tudelft.nl/steven/current.cc.ii.gz
for the rest of the week (i686 preprocessed source).

Gr.
Steven



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]