Re: Make'em suffer!
- From: Tomi Maanpaa <tomi maanpaa movial fi>
- To: Manu Cornet <Manu Cornet GMail com>
- Cc: performance-list gnome org
- Subject: Re: Make'em suffer!
- Date: Tue, 15 Aug 2006 15:57:27 +0300
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]