Closed Bug 1791605 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35973 - Improve wptrunner dispatching mechanism

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 35973 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/35973
Details from upstream follow.

Weizhong Xia <weizhong@google.com> wrote:

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%.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → INVALID
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c49a02c1c1cc [wpt PR 35973] - Improve wptrunner dispatching mechanism, a=testonly
Whiteboard: [wptsync downstream error] → [wptsync downstream]
Test result changes from PR not available.
Status: REOPENED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in before you can comment on or make changes to this bug.