Changeset 124175 in webkit


Ignore:
Timestamp:
Jul 30, 2012 11:19:17 PM (12 years ago)
Author:
rniwa@webkit.org
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):

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r124111 r124175  
     12012-07-30  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        /api/test/runs/chart expires on perf-o-matic
     4        https://bugs.webkit.org/show_bug.cgi?id=92714
     5
     6        Reviewed by Hajime Morita.
     7
     8        Don't update the entire JSON while generating the dashboard images.
     9        This is a bug and not doing this will reduce the server load significantly.
     10
     11        * Websites/webkit-perf.appspot.com/controller.py:
     12        (RunsChartHandler.post):
     13
    1142012-07-30  Dominik Röttsches  <dominik.rottsches@intel.com>
    215
  • trunk/Websites/webkit-perf.appspot.com/controller.py

    r123938 r124175  
    145145        assert platform
    146146        assert test
    147         params = Runs.update_or_insert(branch, platform, test).chart_params(display_days)
     147        params = Runs.get_by_objects(branch, platform, test).chart_params(display_days)
    148148        if not params:
    149149            return
Note: See TracChangeset for help on using the changeset viewer.