Skip to content

Parallelize new_oom subprocesses - #22947

Draft
NickSdot wants to merge 2 commits into
php:masterfrom
NickSdot:perf/parallel-new-oom
Draft

Parallelize new_oom subprocesses#22947
NickSdot wants to merge 2 commits into
php:masterfrom
NickSdot:perf/parallel-new-oom

Conversation

@NickSdot

@NickSdot NickSdot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Extracted from #22917.

Parallelises the PHP subprocesses launched by new_oom tests with bounded concurrency. Reduces their runtime by 4.66×, independently of the test runner’s -j setting.

Result

Values in seconds; measured on macOS.

mode master this PR saved speedup
-j1 23.420 5.028 18.392 4.66×

Reproduction:

sapi/cli/php run-tests.php -q -j1 Zend/tests/new_oom.phpt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant