Re: Make'em suffer!
- From: Federico Mena Quintero <federico ximian com>
- To: Eero Tamminen <ext-eero tamminen nokia com>
- Cc: performance-list gnome org
- Subject: Re: Make'em suffer!
- Date: Thu, 17 Aug 2006 13:01:39 -0500
On Thu, 2006-08-17 at 14:13 +0300, Eero Tamminen wrote:
> Note: Deep widget hierarchies add noticable overhead because of size
> request / allocate propagation.
Yeah, and that's going to be rather tricky to test... Some widgets do
take a good amount of time in finding out their requisition
(GtkTextView); some others should be trivial (GtkImage). Then you have
the overhead from the generic sizing mechanism.
Do you have profiles where the generic sizing code shows up as a
culprit? I'd expect the problems to be in fat widgets like GtkTextView
and GtkTreeView...
> Btw. With large themes (hundreds of styles like in Maemo), binding the
> styles to a widget shows up clearly in profiler if you create for
> example a treeview with hundreds of items.
Oooh, interesting. Do you have a profile?
[GtkCellRendererText does some stupid things like causing text to be
measured two or three times; see my old profiles for the file chooser
for the details.]
Federico
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]