gtk_label_set_text severe performance issue
- From: Dave Andruczyk <djandruczyk yahoo com>
- To: gtk-app-devel-list gnome org
- Subject: gtk_label_set_text severe performance issue
- Date: Tue, 9 Nov 2004 15:39:41 -0800 (PST)
I have an application that updates a bunch of GTK_LABEL's used for status
information. (about 15 labels at a max refresh of about 30 times per second)
When updating only about 5 of the 15 labels at 30 times/sec CPU usage stays at
a steady 35% (Athlon 1.2Ghz) updating all at 3o times/sec nearly maxes the CPU
out. Commenting out the gtk_label_set_text() calls keeps cpu usage at 0%.
What gives?
The labels are being updated with a 3 to 5 charactor number (like 125.5), so
it's not like I'm rerendering a large block of text...
This is with GTK+-2.4.9 on gentoo linux. (I've seen this problem since
GTK+-2.0)
=====
Dave J. Andruczyk
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]