Profiling

Andrew Haley aph at redhat.com
Wed Feb 25 02:41:19 PST 2009


Edward Nevill wrote:
>> 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.

> The previous profiles did not include libffi because I was using the
> shared library. I have redone it with a static libffi. Here are the
> top 50 results. libffi accounts for 0.5% on this particular app
> (Think Free Office). I also did CaffeineMark and EEMBC but the
> results on those were negligible (<0.10%).

Good news, thanks.  FYI Ed, you might want to consider oprofile: it profiles
everything that's running and it's easy to use.  (The docs are kinda
horrible and make it look difficult, but really it's not.)

Cheers,
Andrew.



More information about the zero-dev mailing list