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

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

Issue 1917393002: [tools/perf] Reference legacy_page_test module instead of page_test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « tools/perf/measurements/power.py ('k') | tools/perf/measurements/rasterize_and_record_micro_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/rasterize_and_record_micro.py
diff --git a/tools/perf/measurements/rasterize_and_record_micro.py b/tools/perf/measurements/rasterize_and_record_micro.py
index ac4a7b726affac79c01e9b9cdaf327e1c32e1bce..fbb829278d9bdcf222635a0be4023fd8ea82a480 100644
--- a/tools/perf/measurements/rasterize_and_record_micro.py
+++ b/tools/perf/measurements/rasterize_and_record_micro.py
@@ -5,11 +5,11 @@
import time
from telemetry.core import exceptions
-from telemetry.page import page_test
+from telemetry.page import legacy_page_test
from telemetry.value import scalar
-class RasterizeAndRecordMicro(page_test.PageTest):
+class RasterizeAndRecordMicro(legacy_page_test.LegacyPageTest):
def __init__(self, start_wait_time=2, rasterize_repeat=100, record_repeat=100,
timeout=120, report_detailed_results=False):
@@ -53,7 +53,7 @@ class RasterizeAndRecordMicro(page_test.PageTest):
benchmark_id = tab.EvaluateJavaScript('window.benchmark_results.id')
if not benchmark_id:
- raise page_test.MeasurementFailure(
+ raise legacy_page_test.MeasurementFailure(
'Failed to schedule rasterize_and_record_micro')
tab.WaitForJavaScriptExpression(
« no previous file with comments | « tools/perf/measurements/power.py ('k') | tools/perf/measurements/rasterize_and_record_micro_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698