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]

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


On Thursday 25 November 2004 00:32, Steven Bosscher wrote:
> And we have a new winner.  I have this profile from gprof for current.cc:

Hate to reply to my own mails, but...

typecode_seq.cc.ii.profile

  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  5.31      1.66     1.66  1282843     0.00     0.00  lookup_fnfields_1
  3.65      2.80     1.14   270238     0.00     0.00  dfs_walk_all
  3.52      3.90     1.10  2538083     0.00     0.00  comptypes


timebase.cc.ii.profile

  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  5.38      1.44     1.44  1281932     0.00     0.00  lookup_fnfields_1
  4.90      2.75     1.31  2502192     0.00     0.00  comptypes
  4.34      3.91     1.16   266693     0.00     0.00  dfs_walk_all


tckind.cc.ii.profile

  %   cumulative   self              self     total
 time   seconds   seconds    calls   s/call   s/call  name
  6.35      1.68     1.68  1281503     0.00     0.00  lookup_fnfields_1
  4.27      2.81     1.13  2513728     0.00     0.00  comptypes
  4.23      3.93     1.12   265840     0.00     0.00  dfs_walk_all

Note that these profiles are at -O2, but it also happens at -O0.

Gr.
Steven



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