Title: [116439] trunk
Revision
116439
Author
[email protected]
Date
2012-05-08 11:33:02 -0700 (Tue, 08 May 2012)

Log Message

perf-o-matic fix attempt for dashboard images.

Rubber-stamped by Antti Koivisto.

Also stop generating images for 30, 90, and 365 days since they have been timing out.

* Websites/webkit-perf.appspot.com/controller.py:
(schedule_runs_update):
* Websites/webkit-perf.appspot.com/models.py:
(Runs.chart_params):

Modified Paths

Diff

Modified: trunk/ChangeLog (116438 => 116439)


--- trunk/ChangeLog	2012-05-08 18:25:19 UTC (rev 116438)
+++ trunk/ChangeLog	2012-05-08 18:33:02 UTC (rev 116439)
@@ -1,3 +1,16 @@
+2012-05-08  Ryosuke Niwa  <[email protected]>
+
+        perf-o-matic fix attempt for dashboard images.
+
+        Rubber-stamped by Antti Koivisto.
+
+        Also stop generating images for 30, 90, and 365 days since they have been timing out.
+
+        * Websites/webkit-perf.appspot.com/controller.py:
+        (schedule_runs_update):
+        * Websites/webkit-perf.appspot.com/models.py:
+        (Runs.chart_params):
+
 2012-05-08  Christophe Dumez  <[email protected]>
 
         [CMake] Add ENABLE_IFRAME_SEAMLESS flag

Modified: trunk/Websites/webkit-perf.appspot.com/controller.py (116438 => 116439)


--- trunk/Websites/webkit-perf.appspot.com/controller.py	2012-05-08 18:25:19 UTC (rev 116438)
+++ trunk/Websites/webkit-perf.appspot.com/controller.py	2012-05-08 18:33:02 UTC (rev 116439)
@@ -88,7 +88,7 @@
 def schedule_runs_update(test_id, branch_id, platform_id, regenerate_runs=True):
     if regenerate_runs:
         taskqueue.add(url='', params={'id': test_id, 'branchid': branch_id, 'platformid': platform_id})
-    for display_days in [7, 30, 90, 365]:
+    for display_days in [7]:
         if DashboardImage.needs_update(branch_id, platform_id, test_id, display_days):
             taskqueue.add(url='', params={'id': test_id, 'branchid': branch_id, 'platformid': platform_id,
                 'displayDays': display_days})

Modified: trunk/Websites/webkit-perf.appspot.com/models.py (116438 => 116439)


--- trunk/Websites/webkit-perf.appspot.com/models.py	2012-05-08 18:25:19 UTC (rev 116438)
+++ trunk/Websites/webkit-perf.appspot.com/models.py	2012-05-08 18:33:02 UTC (rev 116439)
@@ -452,7 +452,7 @@
             self.json_averages, str(self.json_min) if self.json_min else 'null', str(self.json_max) if self.json_max else 'null',
             '"%s"' % self.test.unit if self.test.unit else 'null')
 
-    def chart_params(self, display_days, now=datetime.now().replace(hour=12, minute=0, second=0, microsecond=0)):
+    def chart_params(self, display_days, now=datetime.utcnow().replace(hour=12, minute=0, second=0, microsecond=0)):
         chart_data_x = []
         chart_data_y = []
         end_time = now
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to