Add Live PLT implemented with WebDriver
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Sep 2017 02:58:08 +0000 (02:58 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 8 Sep 2017 02:58:08 +0000 (02:58 +0000)
commit4f5c12a5baee31034ae294326e8f193423061bc5
tree66094baaec8717df7edd3b65f72ed73f702a5425
parentc78ae9b6f2b53039170acae77dcfd0f9b5e5cdad
Add Live PLT implemented with WebDriver
https://bugs.webkit.org/show_bug.cgi?id=176436

Patch by Matthew Stewart <matthew_r_stewart@apple.com> on 2017-09-07
Reviewed by Stephanie Lewis.

Adds a new PLT that runs on live websites.

* Scripts/run-webdriver-plt.py: Added.
(parse_args):
(start):
(make_suites):
(main):
* Scripts/webkitpy/webdriver_plt/__init__.py: Added.
* Scripts/webkitpy/webdriver_plt/liveplt.py: Added.
(PageLoadTest):
(PageLoadTest.__init__):
(PageLoadTest.start):
(PageLoadTest.run_suite):
(PageLoadTest._get_driver_for_browser):
(PageLoadTest._setup_browser_window):
(PageLoadTest.run_one_test):
(PageLoadTest.get_results):
* Scripts/webkitpy/webdriver_plt/pltresults.py: Added.
(PLTResults):
(PLTResults.__init__):
(PLTResults.__add__):
(PLTResults.add_timing_result):
(PLTResults.mean):
(PLTResults.geometric_mean):
(PLTResults.mean_coef_variance):
(PLTResults.print_results):
(PLTResults.print_url_results):
(PLTResults._format_time):
* Scripts/webkitpy/webdriver_plt/suites/__init__.py: Added.
* Scripts/webkitpy/webdriver_plt/suites/arabic.suite: Added.
* Scripts/webkitpy/webdriver_plt/suites/cjk.suite: Added.
* Scripts/webkitpy/webdriver_plt/suites/news.suite: Added.
* Scripts/webkitpy/webdriver_plt/suites/search.suite: Added.
* Scripts/webkitpy/webdriver_plt/suites/shopping.suite: Added.
* Scripts/webkitpy/webdriver_plt/suites/social.suite: Added.
* Scripts/webkitpy/webdriver_plt/suites/suite.py: Added.
(Suite):
(Suite.__init__):
(Suite.get_available_suites):
* Scripts/webkitpy/webdriver_plt/urlresults.py: Added.
(URLResults):
(URLResults.__init__):
(URLResults.__add__):
(URLResults.mean):
(URLResults.coef_variance):
(URLResults.print_results):
(URLResults._format_time):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@221777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
14 files changed:
Tools/ChangeLog
Tools/Scripts/run-webdriver-plt.py [new file with mode: 0755]
Tools/Scripts/webkitpy/webdriver_plt/__init__.py [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/liveplt.py [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/pltresults.py [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/__init__.py [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/arabic.suite [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/cjk.suite [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/news.suite [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/search.suite [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/shopping.suite [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/social.suite [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/suites/suite.py [new file with mode: 0644]
Tools/Scripts/webkitpy/webdriver_plt/urlresults.py [new file with mode: 0644]