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

Unified Diff: perf_insights/perf_insights/endpoints/cloud_mapper/test.py

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
« no previous file with comments | « no previous file | perf_insights/perf_insights/mappers/rail.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: perf_insights/perf_insights/endpoints/cloud_mapper/test.py
diff --git a/perf_insights/perf_insights/endpoints/cloud_mapper/test.py b/perf_insights/perf_insights/endpoints/cloud_mapper/test.py
index 4bc73339291780cc1a9b00d45213dafa45be595d..f66e7fe5788473c4868a1e7d46f6c3f9b0c7a054 100644
--- a/perf_insights/perf_insights/endpoints/cloud_mapper/test.py
+++ b/perf_insights/perf_insights/endpoints/cloud_mapper/test.py
@@ -18,20 +18,15 @@ 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>
tr.exportTo('pi.m', function() {
function railMapFunction(results, runInfo, model) {
- var health = tr.metrics.sh.SystemHealthMetric.forModel(model);
- if (health === undefined) {
- return;
- }
- results.addValue(new tr.v.DictValue(runInfo, 'railScore',
- {overallScore: health}));
+ results.addValue(new tr.v.DictValue(
+ runInfo, 'userExpectationsCount',
+ model.userModel.expectations.length));
}
pi.FunctionRegistry.register(railMapFunction);
« no previous file with comments | « no previous file | perf_insights/perf_insights/mappers/rail.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698