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: Some (small) c++ compilation profiling data (oprofile)


On Fri, May 17, 2002 at 09:58:12AM -0700, Zack Weinberg wrote:

> The amount of time spent in yyparse_1 is interesting.  Can you check
> out the cp-parser-branch, build it, and run this test with that

This is very unscientific results since cp-parser-branch fails to build
lyx (is it still the case that Mark is not interested in bug reports yet
?), but here's the top runners for what the compiler could finish :

cp-parser-branch compiling lyx with -O2
---------------------------------------

Time spent
 
VMA      Samples  %age total  symbol
...
081a1f90 88239    1.04199     output_format
0823b090 91493    1.08042     ht_lookup
084107f4 92606    1.09356     dyn_string_append_cstr_len
0813a030 101159   1.19456     walk_tree
0815f720 110315   1.30268     cp_parser_lookup_name
080788a0 142408   1.68166     grokdeclarator
0808bbc0 145033   1.71266     cp_thing
081a1dc0 148982   1.75929     wrap_text
0835ce50 158204   1.86819     ggc_alloc
0835d310 399979   4.72325     ggc_set_mark
082388b0 403951   4.77015     ggc_mark_trees 

Memory references

...
08411fd4 21835    1.00147     xmalloc
08404900 22867    1.0488      _cpp_lex_token
081a3860 28011    1.28474     report_diagnostic
08410848 29660    1.36037     dyn_string_append_char
08410508 32064    1.47063     dyn_string_resize
081a1f90 32879    1.50801     output_format
0813a030 33765    1.54865     walk_tree
084107f4 40146    1.84131     dyn_string_append_cstr_len
0835ce50 43589    1.99923     ggc_alloc
081a1dc0 65848    3.02015     wrap_text
082388b0 70027    3.21182     ggc_mark_trees
0808bbc0 79266    3.63557     cp_thing
0835d310 118677   5.44317     ggc_set_mark 

If you want the full summaries just ask. It's quite possible
these profiles aren't reliable since I am using binutils 2.12.1
which we haven't really tested yet

regards
john


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