| Index: tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
|
| diff --git a/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html b/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
|
| index 46f688937dd6c90baa449df5d9ebfbb156dc3cec..96d2842ae167cda06971137f4d909e6c1c5db76b 100644
|
| --- a/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
|
| +++ b/tracing/tracing/ui/analysis/single_user_expectation_sub_view.html
|
| @@ -67,43 +67,6 @@ found in the LICENSE file.
|
| onCustomizeRows_: function(event) {
|
| var ue = tr.b.getOnlyElement(this.selection);
|
|
|
| - var values = new tr.metrics.ValueSet();
|
| -
|
| - function runMetric(metricInfo) {
|
| - try {
|
| - metricInfo.constructor(values, ue.parentModel);
|
| - } catch (failure) {
|
| - console.error(metricInfo, failure);
|
| - }
|
| - }
|
| -
|
| - tr.metrics.MetricRegistry.getAllRegisteredTypeInfos().forEach(runMetric);
|
| -
|
| - // Metrics may have been computed more than once, so avoid displaying them
|
| - // more than once by collecting them in a dictionary.
|
| - // https://github.com/catapult-project/catapult/issues/2154
|
| - var metricValues = {};
|
| -
|
| - values.valueDicts.forEach(function(value) {
|
| - if (value.grouping_keys.userExpectationStableId !== ue.stableId)
|
| - return;
|
| -
|
| - if ((value.type !== 'numeric') ||
|
| - (value.numeric.type !== 'scalar'))
|
| - return;
|
| -
|
| - metricValues[value.grouping_keys.name] = value.numeric;
|
| - });
|
| -
|
| - for (var name in metricValues) {
|
| - event.rows.push({
|
| - name: name,
|
| - value: tr.v.ui.createScalarSpan(metricValues[name].value, {
|
| - unit: tr.v.Unit.fromJSON(metricValues[name].unit)
|
| - })
|
| - });
|
| - }
|
| -
|
| if (ue.rawCpuMs) {
|
| event.rows.push({
|
| name: 'Total CPU',
|
|
|