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 _______________________________________________ Performance-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/performance-list
