Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
run-benchmarks should have an intial prep and restore env call for ta…
…sks that are too expensive to do for every iteration https://bugs.webkit.org/show_bug.cgi?id=197339 Reviewed by Dewei Zhu. Add two new functions prepare_inital_env and restore_env_after_all_testing around the entire test run for setup steps that are too expensive to do every iteration. * Scripts/webkitpy/benchmark_runner/benchmark_runner.py: (BenchmarkRunner._run_benchmark): * Scripts/webkitpy/benchmark_runner/browser_driver/browser_driver.py: (BrowserDriver): (BrowserDriver.prepare_initial_env): (BrowserDriver.restore_env_after_all_testing): * Scripts/webkitpy/benchmark_runner/browser_driver/linux_browser_driver.py: (LinuxBrowserDriver.prepare_initial_env): (LinuxBrowserDriver.restore_env_after_all_testing): * Scripts/webkitpy/benchmark_runner/browser_driver/osx_browser_driver.py: (OSXBrowserDriver.prepare_initial_env): (OSXBrowserDriver.restore_env_after_all_testing): Canonical link: https://commits.webkit.org/211562@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@244730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
5 changed files
with
72 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters