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

Unified Diff: tracing/tracing/metrics/system_health/webview_startup_metric_test.html

Issue 2334233003: Merge NumericValue into Histogram (Closed)
Patch Set: fix rail_power_metric Created 4 years, 3 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: tracing/tracing/metrics/system_health/webview_startup_metric_test.html
diff --git a/tracing/tracing/metrics/system_health/webview_startup_metric_test.html b/tracing/tracing/metrics/system_health/webview_startup_metric_test.html
index 5ee21618fc8bd2f89e19ac90bcc419f4eba7040a..ace1b317e03aa47ada7931f0ce3aa3146c93917b 100644
--- a/tracing/tracing/metrics/system_health/webview_startup_metric_test.html
+++ b/tracing/tracing/metrics/system_health/webview_startup_metric_test.html
@@ -39,13 +39,13 @@ tr.b.unittest.testSuite(function() {
var values = new tr.v.ValueSet();
tr.metrics.sh.webviewStartupMetric(values, makeTestModel());
assert.closeTo(42, values.getValuesNamed(
- 'webview_startup_wall_time')[0].numeric.average, 1e-2);
+ 'webview_startup_wall_time')[0].average, 1e-2);
assert.closeTo(32, values.getValuesNamed(
- 'webview_startup_cpu_time')[0].numeric.average, 1e-2);
+ 'webview_startup_cpu_time')[0].average, 1e-2);
assert.closeTo(27, values.getValuesNamed(
- 'webview_url_load_wall_time')[0].numeric.average, 1e-2);
+ 'webview_url_load_wall_time')[0].average, 1e-2);
assert.closeTo(17, values.getValuesNamed(
- 'webview_url_load_cpu_time')[0].numeric.average, 1e-2);
+ 'webview_url_load_cpu_time')[0].average, 1e-2);
});
});
</script>
« no previous file with comments | « tracing/tracing/metrics/system_health/webview_startup_metric.html ('k') | tracing/tracing/metrics/tracing_metric.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698