Re: Profiler Toy (Re: gobject profile ... (fwd))



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]