Profiling

Gary Benson gbenson at redhat.com
Tue Feb 24 04:00:41 PST 2009


Hi Ed,

Edward Nevill wrote:
> --- ThinkFreeOffice --- Original
> 
>   %   cumulative   self              self     total           
>  time   seconds   seconds    calls   s/call   s/call  name    
>  42.12     21.35    21.35 33855747     0.00     0.00  BytecodeInterpreter::run(BytecodeInterpreter*)
>   9.70     26.27     4.92    34204     0.00     0.00  CppInterpreter::main_loop(int, Thread*)
>   5.17     28.89     2.62 17783120     0.00     0.00  methodOopDesc::result_type() const
>   4.54     31.19     2.30 16484931     0.00     0.00  InterpreterFrame::build(ZeroStack*, methodOopDesc*, JavaThread*)
>   4.48     33.46     2.27 17847099     0.00     0.00  SignatureIterator::iterate_returntype()
>   2.49     34.72     1.26 15239483     0.00     0.00  CppInterpreter::normal_entry(methodOopDesc*, int, Thread*)
>   2.41     35.94     1.22 18044932     0.00     0.00  SignatureIterator::parse_type()
>   2.05     36.98     1.04 33005883     0.00     0.00  os::vm_page_size()
>   1.47     37.72     0.75  1245317     0.00     0.00  CppInterpreter::native_entry(methodOopDesc*, int, Thread*)
>   1.44     38.45     0.73 17891344     0.00     0.00  SignatureIterator::SignatureIterator(symbolHandle)
>   1.09     39.00     0.55  1773458     0.00     0.00  CppInterpreter::accessor_entry(methodOopDesc*, int, Thread*)

This one I find really interesting.  Is libffi showing up in your
profile at all?  Andrew Haley and I have often wondered what
performance impace using libffi has, and Andrew has some ideas for
speeding up libffi if it turns out to be a bottleneck.  If your
profile is excluding libffi, it'd be really interesting to see
what it looked like with it in.

Cheers,
Gary

-- 
http://gbenson.net/



More information about the zero-dev mailing list