Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: perf_insights/perf_insights/mappers/rail.html

Issue 1772833002: Remove SystemHealthMetric (fka RAILScore) (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: fix pi test Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: perf_insights/perf_insights/mappers/rail.html
diff --git a/perf_insights/perf_insights/mappers/rail.html b/perf_insights/perf_insights/mappers/rail.html
deleted file mode 100644
index ec3821f1fa5a6ae645173bd608917f622cfe4154..0000000000000000000000000000000000000000
--- a/perf_insights/perf_insights/mappers/rail.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html>
-<!--
-Copyright (c) 2015 The Chromium Authors. All rights reserved.
-Use of this source code is governed by a BSD-style license that can be
-found in the LICENSE file.
--->
-<link rel="import" href="/perf_insights/function_handle.html">
-<link rel="import"
- href="/tracing/metrics/system_health/system_health_metric.html">
-<link rel="import" href="/tracing/value/value.html">
-
-<script>
-'use strict';
-
-tr.exportTo('pi.m', function() {
-
- function railMapFunction(results, model) {
- var canonicalUrl = model.canonicalUrlThatCreatedThisTrace;
- var health = tr.metrics.sh.SystemHealthMetric.forModel(model);
- if (health === undefined) {
- return;
- }
- results.addValue(new tr.v.DictValue(
- canonicalUrl, 'railScore', {overallScore: health}));
- }
- pi.FunctionRegistry.register(railMapFunction);
-
- return {
- railMapFunction: railMapFunction
- };
-});
-
-</script>

Powered by Google App Engine
This is Rietveld 408576698