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

Unified Diff: tools/perf/metrics/startup_metric.py

Issue 952693003: Telemetry: Move TimeoutException from util module to exceptions module. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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: tools/perf/metrics/startup_metric.py
diff --git a/tools/perf/metrics/startup_metric.py b/tools/perf/metrics/startup_metric.py
index abf62da3bdb9234f614285f397d6264c795f647c..af1e3fff5a326b65e596e6f9c420e162bf3d8836 100644
--- a/tools/perf/metrics/startup_metric.py
+++ b/tools/perf/metrics/startup_metric.py
@@ -7,7 +7,7 @@ import logging
from metrics import Metric
-from telemetry.core import util
+from telemetry.core import exceptions
from telemetry.value import histogram_util
from telemetry.value import scalar
@@ -74,7 +74,7 @@ class StartupMetric(Metric):
int(result['load_start_ms']),
int(result['load_duration_ms']),
int(perf_timing['requestStart'])))
- except util.TimeoutException:
+ except exceptions.TimeoutException:
# Low memory Android devices may not be able to load more than
# one tab at a time, so may timeout when the test attempts to
# access a background tab. Ignore these tabs.
« no previous file with comments | « tools/perf/measurements/rasterize_and_record_micro.py ('k') | tools/perf/profile_creators/fast_navigation_profile_extender.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698