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

Unified Diff: tools/perf/measurements/blink_style.py

Issue 2452333004: [Telemetry] Fix exception handling for blink_styles and rasterize_and_record use of WaitFor (Closed)
Patch Set: Add rasterize_and_record_micro Created 4 years, 2 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 | tools/perf/measurements/rasterize_and_record_micro.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/blink_style.py
diff --git a/tools/perf/measurements/blink_style.py b/tools/perf/measurements/blink_style.py
index d20befb3a8b7e11077fd131acc135db698bdf5fc..dae97c74cf8044df1892dda356579e3c9605d728 100644
--- a/tools/perf/measurements/blink_style.py
+++ b/tools/perf/measurements/blink_style.py
@@ -4,12 +4,12 @@
from collections import defaultdict
from itertools import starmap
-from telemetry.core import exceptions
from telemetry.core import util
from telemetry.page import legacy_page_test
from telemetry.value import scalar
from measurements import timeline_controller
+import py_utils
class BlinkStyle(legacy_page_test.LegacyPageTest):
@@ -33,7 +33,7 @@ class BlinkStyle(legacy_page_test.LegacyPageTest):
tab.ExecuteJavaScript('console.time("");')
try:
util.WaitFor(tab.HasReachedQuiescence, 15)
- except exceptions.TimeoutException:
+ except py_utils.TimeoutException:
# Some sites never reach quiesence. As this benchmark normalizes/
# categories results, it shouldn't be necessary to reach the same
# state on every run.
« no previous file with comments | « no previous file | tools/perf/measurements/rasterize_and_record_micro.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698