| 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>
|
|
|