diff options
author | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-05 00:28:19 +0000 |
---|---|---|
committer | tonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-04-05 00:28:19 +0000 |
commit | fefc95229ca7b462052c27a33ee1297ddc072d1d (patch) | |
tree | ff1e2ba39387e327b36d51fd302152588b4c1f5d /tools | |
parent | f1cb6fa1040cb4c558ccafed39949b3a2a39789e (diff) | |
download | chromium_src-fefc95229ca7b462052c27a33ee1297ddc072d1d.zip chromium_src-fefc95229ca7b462052c27a33ee1297ddc072d1d.tar.gz chromium_src-fefc95229ca7b462052c27a33ee1297ddc072d1d.tar.bz2 |
[Telemetry] Remove 2 second sleep after page navigate.
This is necessary to convert the page cyclers to the page_runner framework and
still have them run in a reasonable amount of time.
BUG=222549
TEST=tested locally on linux with the loading_benchmark and scrolling_benchmark
on the top_25.json page set.
NOTRY=True
Review URL: https://chromiumcodereview.appspot.com/13198004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r-- | tools/telemetry/telemetry/page/page.py | 1 | ||||
-rw-r--r-- | tools/telemetry/telemetry/page/page_runner.py | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/tools/telemetry/telemetry/page/page.py b/tools/telemetry/telemetry/page/page.py index 9e554ad..92272ad 100644 --- a/tools/telemetry/telemetry/page/page.py +++ b/tools/telemetry/telemetry/page/page.py @@ -25,7 +25,6 @@ class Page(object): self._attributes = {} self._attributes['credentials'] = None self._attributes['disabled'] = False - self._attributes['wait_time_after_navigate'] = 2 self._attributes['script_to_evaluate_on_commit'] = None if attributes: self._attributes.update(attributes) diff --git a/tools/telemetry/telemetry/page/page_runner.py b/tools/telemetry/telemetry/page/page_runner.py index d2c3313..5ce6f69 100644 --- a/tools/telemetry/telemetry/page/page_runner.py +++ b/tools/telemetry/telemetry/page/page_runner.py @@ -333,9 +333,6 @@ class PageRunner(object): tab.Navigate(target_side_url, page.script_to_evaluate_on_commit) test.DidNavigateToPage(page, tab) - # Wait for unpredictable redirects. - if page.wait_time_after_navigate: - time.sleep(page.wait_time_after_navigate) page.WaitToLoad(tab, 60) tab.WaitForDocumentReadyStateToBeInteractiveOrBetter() |