wpt
wpt copied to clipboard
Improve wptrunner dispatching mechanism
Currently wptrunner is running different type of tests in different rounds. At the end of each round there will be time spent to wait for all workers to finish.
With this change, wptrunner can run all different type of tests in one loop. The TestSource class now emits test type together with the test, and test runner then picks the executor class and the parameters to run the test.
Preliminary results shows this reduced total run time by 10%.