Title: [172411] trunk/Websites/perf.webkit.org
Revision
172411
Author
[email protected]
Date
2014-08-11 14:16:27 -0700 (Mon, 11 Aug 2014)

Log Message

Report run id's in api/runs.php for the new dashboard UI
https://bugs.webkit.org/show_bug.cgi?id=135813

Reviewed by Andreas Kling.

Include run_id in the generated JSON.

* public/api/runs.php:
(fetch_runs_for_config): Don't sort results by time since that has been done in the front end for ages now.
(format_run):

Modified Paths

Diff

Modified: trunk/Websites/perf.webkit.org/ChangeLog (172410 => 172411)


--- trunk/Websites/perf.webkit.org/ChangeLog	2014-08-11 20:48:32 UTC (rev 172410)
+++ trunk/Websites/perf.webkit.org/ChangeLog	2014-08-11 21:16:27 UTC (rev 172411)
@@ -1,5 +1,18 @@
 2014-08-11  Ryosuke Niwa  <[email protected]>
 
+        Report run id's in api/runs.php for the new dashboard UI
+        https://bugs.webkit.org/show_bug.cgi?id=135813
+
+        Reviewed by Andreas Kling.
+
+        Include run_id in the generated JSON.
+
+        * public/api/runs.php:
+        (fetch_runs_for_config): Don't sort results by time since that has been done in the front end for ages now.
+        (format_run):
+
+2014-08-11  Ryosuke Niwa  <[email protected]>
+
         Merging platforms mixes baselines and targets into reported data
         https://bugs.webkit.org/show_bug.cgi?id=135260
 

Modified: trunk/Websites/perf.webkit.org/public/api/runs.php (172410 => 172411)


--- trunk/Websites/perf.webkit.org/public/api/runs.php	2014-08-11 20:48:32 UTC (rev 172410)
+++ trunk/Websites/perf.webkit.org/public/api/runs.php	2014-08-11 21:16:27 UTC (rev 172411)
@@ -35,8 +35,7 @@
         WHERE run_build = build_id AND run_config = $1
         GROUP BY build_id, build_builder, build_number, build_time, build_latest_revision,
             run_id, run_config, run_build, run_iteration_count_cache,
-            run_mean_cache, run_sum_cache, run_square_sum_cache
-        ORDER BY build_latest_revision, build_time', array($config['config_id']));
+            run_mean_cache, run_sum_cache, run_square_sum_cache', array($config['config_id']));
 
     $formatted_runs = array();
     if (!$raw_runs)
@@ -67,6 +66,7 @@
 
 function format_run($run) {
     return array(
+        'id' => intval($run['run_id']),
         'mean' => floatval($run['run_mean_cache']),
         'iterationCount' => intval($run['run_iteration_count_cache']),
         'sum' => floatval($run['run_sum_cache']),
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to