Re: gobject profile ... (fwd)



Tim Janik <timj gtk org> writes:

> On 24 Aug 2001, Owen Taylor wrote:
> 
> > 
> > Michael Meeks <michael ximian com> writes:
> > 
> > > Hi there,
> > > 
> > > 	This may or may not be appreciated - but, I'm profiling test-ui in
> > > a nice tight loop doing 1000 batched sets; to see if any obvious
> > > bottlenecks come out ( with CVS HEAD libbonoboui/test/test-ui and
> > > eazel-tools/prof/prof incidentaly ):
> > 
> > Oh for decent profiling tools.... this sort of information is useful,
> > but without call graphs not that useful. I'd really like to be able
> > to see _where_ all the lock/unlock action was coming from.
> 
> well, grepping for static_rw on the profile i posted an excerpt from earlier,
> (before merging):

Hmmm...

> Percentage         | Total              | Average            | # Calls | Function                                           | Caller
>        5.457186910 |        7.891597889 |        0.000055861 |  141272 | g_static_rw_lock_reader_lock                       | g_type_is_a
>        0.107371600 |        0.155269281 |        0.000001099 |  141272 | g_static_rw_lock_reader_unlock                     | g_type_is_a


>        0.241135842 |        0.348704769 |        0.000000760 |  458668 | g_static_rw_lock_reader_lock                       | g_type_check_instance_cast
>        0.315551063 |        0.456316073 |        0.000000995 |  458668 | g_static_rw_lock_reader_unlock                     | g_type_check_instance_cast

'# calls' numbers look right, the time/percentage parts look just a bit funny....

Regards,
                                        Owen




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]