Re: (severe) performance issues



Nope.  that tab is the ONLY one that is updating, and
I have code in place so if that tab is NOT active, it
doesn't even update it at ALL.  I have tested this
VERY thoroughly..  By commenting out ONE LINE in my
code that updates the 22 labels on that tab, cpu usage
goes from "high" to zero.  Right now it does NOT even
update them all.  There is logic in place to reduce
the number of updates. (it checks based on last update
time, the number of times it's skipped, and a "delta"
from last value (if it changes too much it forces and
update)

I have yet to try placing the label into a GtkFixed
yet as per another users suggestion.

--- Iain * <iaingnome gmail com> wrote:

> On 4/3/07, David J. Andruczyk
> <djandruczyk yahoo com> wrote:
> 
> >
>
http://megatunix.sourceforge.net/screenshots/images/runtime-display-tab.png
> 
> Just wondering, and not in anyway trying to dispute
> that GtkLabel
> could be better, but are there lots of labels on all
> those hidden
> pages also being updated 30times a second? If there
> are, then I'm not
> really surprised that there's severe performance
> issues. You probably
> want to listen for the page change signal and turn
> off updating for
> the pages that aren't visible. I bet once you do
> that, you'll have no
> performance issues whatsoever.
> 
> iain
> 


-- David J. Andruczyk


 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news



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