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

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

Issue 338433004: Remove navigate measurements since it's not used anywhere. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/measurements/navigate.py
diff --git a/tools/perf/measurements/navigate.py b/tools/perf/measurements/navigate.py
deleted file mode 100644
index 7335510534c16cd74a743dd1782b971c23a9de33..0000000000000000000000000000000000000000
--- a/tools/perf/measurements/navigate.py
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 2013 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from telemetry.page import page_measurement
-
-class NavigateMeasurement(page_measurement.PageMeasurement):
- """ Measures time between navigation start and the end of the navigate_steps
-
- For pages where the 'load' event isn't a good measurement point, this
- measurement allows a page_set to have its loading sequence listed by
- way of navigate_steps, with a navigation_time result measured
- by performance.now().
- """
- def __init__(self):
- super(NavigateMeasurement, self).__init__()
- self._navigate_time = None
-
- def DidNavigateToPage(self, page, tab):
- self._navigate_time = int(tab.EvaluateJavaScript('performance.now()'))
-
- def MeasurePage(self, page, tab, results):
- results.Add('navigate_time', 'ms', self._navigate_time)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698