Title: [124175] trunk
Revision
124175
Author
[email protected]
Date
2012-07-30 23:19:17 -0700 (Mon, 30 Jul 2012)

Log Message

/api/test/runs/chart expires on perf-o-matic
https://bugs.webkit.org/show_bug.cgi?id=92714

Reviewed by Hajime Morita.

Don't update the entire JSON while generating the dashboard images.
This is a bug and not doing this will reduce the server load significantly.

* Websites/webkit-perf.appspot.com/controller.py:
(RunsChartHandler.post):

Modified Paths

Diff

Modified: trunk/ChangeLog (124174 => 124175)


--- trunk/ChangeLog	2012-07-31 05:46:43 UTC (rev 124174)
+++ trunk/ChangeLog	2012-07-31 06:19:17 UTC (rev 124175)
@@ -1,3 +1,16 @@
+2012-07-30  Ryosuke Niwa  <[email protected]>
+
+        /api/test/runs/chart expires on perf-o-matic
+        https://bugs.webkit.org/show_bug.cgi?id=92714
+
+        Reviewed by Hajime Morita.
+
+        Don't update the entire JSON while generating the dashboard images.
+        This is a bug and not doing this will reduce the server load significantly.
+
+        * Websites/webkit-perf.appspot.com/controller.py:
+        (RunsChartHandler.post):
+
 2012-07-30  Dominik Röttsches  <[email protected]>
 
         Avoid Assertion Failure in HarfBuzzRun::characterIndexForXPosition

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


--- trunk/Websites/webkit-perf.appspot.com/controller.py	2012-07-31 05:46:43 UTC (rev 124174)
+++ trunk/Websites/webkit-perf.appspot.com/controller.py	2012-07-31 06:19:17 UTC (rev 124175)
@@ -144,7 +144,7 @@
         assert branch
         assert platform
         assert test
-        params = Runs.update_or_insert(branch, platform, test).chart_params(display_days)
+        params = Runs.get_by_objects(branch, platform, test).chart_params(display_days)
         if not params:
             return
         dashboard_chart_file = urllib.urlopen('http://chart.googleapis.com/chart', urllib.urlencode(params))
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to