summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authortonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 01:09:38 +0000
committertonyg@chromium.org <tonyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 01:09:38 +0000
commit3e689dc769bd4859b4ed73e98d8d559710aa2e14 (patch)
tree0430848d40eb14380c74eef605d29c79e780b7cd /tools
parentfcfbd2bc8e23ec13266bbbb15ce438dce0ed74a7 (diff)
downloadchromium_src-3e689dc769bd4859b4ed73e98d8d559710aa2e14.zip
chromium_src-3e689dc769bd4859b4ed73e98d8d559710aa2e14.tar.gz
chromium_src-3e689dc769bd4859b4ed73e98d8d559710aa2e14.tar.bz2
[Telemetry] Make profile generator wait for pages to load completely.
The bug that causes this not to work is fixed. It is possible that this non-determinism in the profile could lead to flakiness in the session_restore benchmark. BUG=375979 Review URL: https://codereview.chromium.org/318733002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274971 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/profile_creators/small_profile_creator.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tools/perf/profile_creators/small_profile_creator.py b/tools/perf/profile_creators/small_profile_creator.py
index b9c2de8..179c6aa 100644
--- a/tools/perf/profile_creators/small_profile_creator.py
+++ b/tools/perf/profile_creators/small_profile_creator.py
@@ -32,6 +32,4 @@ class SmallProfileCreator(profile_creator.ProfileCreator):
return browser.tabs.New()
def MeasurePage(self, _, tab, results):
- # Can't use WaitForDocumentReadyStateToBeComplete() here due to
- # crbug.com/280750 .
- tab.WaitForDocumentReadyStateToBeInteractiveOrBetter()
+ tab.WaitForDocumentReadyStateToBeComplete()