DevTools: Run devtools tests in release mode
This modifies our build process so regardless of whether debug_devtools is enabled a release mode version is built specifically for our tests. This doesn't affect the normal use or development of DevTools because it creates a separate copy of the app in release mode in "out/Release/resources/inspector_release". People can opt out of using release mode by passing "--additional-drt-flag='--debug-devtools'" to run_layout_tests.py if they are trying to debug a layout test. This will decrease the time of our test suite by ~25% (20 seconds faster). Stats for running our tests: 16 process - debug mode: average 83 seconds (3 runs) 16 process - release mode: average 63 seconds (4 runs) Even in fully parallel, this speeds up our test from ~50 seconds to ~40 seconds, however fully parallel mode had a wide variance from 40 to 60 seconds between different runs. Tests included: inspector inspector-protocol inspector-enabled http/tests/inspector Review-Url: https://codereview.chromium.org/2262743002 Cr-Commit-Position: refs/heads/master@{#415742}
Showing
This diff is collapsed.
Please register or sign in to comment