+2014-08-11 Ryosuke Niwa <rniwa@webkit.org>
+
+ 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 <rniwa@webkit.org>
Merging platforms mixes baselines and targets into reported data
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)
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']),