Changeset 106890 in webkit


Ignore:
Timestamp:
Feb 6, 2012 6:21:09 PM (12 years ago)
Author:
rniwa@webkit.org
Message:

Perf-o-matic should show min/max/stdev on graphs
https://bugs.webkit.org/show_bug.cgi?id=77702

Reviewed by Andreas Kling.

Include min/max/stdev in test runs when available to be shown on the perf-o-matic.

Also merge a change to config.js and increment the version number by 1 (unreviewed).

  • Websites/webkit-perf.appspot.com/app.yaml:
  • Websites/webkit-perf.appspot.com/js/config.js:
  • Websites/webkit-perf.appspot.com/runs_handler.py:

(RunsHandler.get):

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r106793 r106890  
     12012-02-06  Ryosuke Niwa  <rniwa@webkit.org>
     2
     3        Perf-o-matic should show min/max/stdev on graphs
     4        https://bugs.webkit.org/show_bug.cgi?id=77702
     5
     6        Reviewed by Andreas Kling.
     7
     8        Include min/max/stdev in test runs when available to be shown on the perf-o-matic.
     9
     10        Also merge a change to config.js and increment the version number by 1 (unreviewed).
     11
     12        * Websites/webkit-perf.appspot.com/app.yaml:
     13        * Websites/webkit-perf.appspot.com/js/config.js:
     14        * Websites/webkit-perf.appspot.com/runs_handler.py:
     15        (RunsHandler.get):
     16
    1172012-02-06  Carlos Garcia Campos  <cgarcia@igalia.com>
    218
  • trunk/Websites/webkit-perf.appspot.com/app.yaml

    r106308 r106890  
    11application: webkit-perf
    2 version: 10
     2version: 11
    33runtime: python27
    44api_version: 1
  • trunk/Websites/webkit-perf.appspot.com/js/config.js

    r105971 r106890  
    1616var IMAGE_SERVER = SERVER;
    1717
    18 var LIGHT_COLORS = $.map(COLORS, function(color) {
    19     return $.color.parse(color).add('a', -.5).toString();
    20 });
     18if ($.color) {
     19    var LIGHT_COLORS = $.map(COLORS, function(color) {
     20        return $.color.parse(color).add('a', -.5).toString();
     21    });
     22}
    2123
    2224var PLOT_OPTIONS = {
  • trunk/Websites/webkit-perf.appspot.com/runs_handler.py

    r106321 r106890  
    8686                builderId = build.builder.key().id()
    8787                posixTimestamp = mktime(build.timestamp.timetuple())
     88                statistics = None
     89                if result.valueStdev != None and result.valueMin != None and result.valueMax != None:
     90                    statistics = {'stdev': result.valueStdev, 'min': result.valueMin, 'max': result.valueMax}
    8891                test_runs.append([result.key().id(),
    8992                    [build.key().id(), build.buildNumber, build.revision],
    90                     posixTimestamp, result.value, 0, [], builderId])
     93                    posixTimestamp, result.value, 0,  # runNumber
     94                    [],  # annotations
     95                    builderId, statistics])
    9196                # FIXME: Calculate the average; in practice, we wouldn't have more than one value for a given revision
    9297                averages[build.revision] = result.value
Note: See TracChangeset for help on using the changeset viewer.