Hi Manu, I have been running torturer for my own cairo widget and found a small bug in boot expose times. It seems that expose timer is not reseted before boot test. So the previous widgets expose w/resize time is added to next widgets boot time. Here is a small patch to fix this problem.
BTW thanks for nice program =) I hope I can help more later. -Tomi
diff --git a/gtk-theme-torturer/torturer.c b/gtk-theme-torturer/torturer.c index 24fd644..fdc03e9 100644 --- a/gtk-theme-torturer/torturer.c +++ b/gtk-theme-torturer/torturer.c @@ -170,6 +170,7 @@ torture_widget (GtkWidget *not_useful, g gtk_widget_profiler_set_num_iterations (profiler, n_iter); /* Boot */ + reset_total_expose_timer (); gtk_widget_profiler_profile_boot (profiler); total_expose_in_boot = total_expose;
_______________________________________________ Performance-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/performance-list
