Re: Profiler Toy (Re: gobject profile ... (fwd))
- From: Sebastian Wilhelmi <wilhelmi ira uka de>
- To: Tim Janik <timj gtk org>
- Cc: Owen Taylor <otaylor redhat com>, Michael Meeks <michael ximian com>, Gtk+ Developers <gtk-devel-list gnome org>, alexl redhat com
- Subject: Re: Profiler Toy (Re: gobject profile ... (fwd))
- Date: Thu, 30 Aug 2001 16:22:11 +0200
Hi,
> one pretty impressive thing to note is the number of calls to
> g_static_rw_lock_signal() from check_derivation_U(). 2.03 million
> calls in 71 seconds is a bit huge.
Actually g_static_rw_lock_signal should be inlined. But of course the real
problem indeed is, that g_cond_broadcast is called for every
g_static_rw_lock_unlock_reader call, even if no one is waiting. I checked in a
patch to avoid that. Hope, that helps.
Bye,
Sebastian
--
Sebastian Wilhelmi
mailto:wilhelmi ira uka de
http://goethe.ira.uka.de/~wilhelmi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]