Skip to content

Commit e7329d8

Browse files
committed
Enable tracing JIT for WordPress PHPUnit
Use a 64 MB JIT buffer for the WordPress and SQLite plugin PHPUnit suites. Keep the existing OPcache and test settings unchanged.
1 parent 8707a5b commit e7329d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎composer.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
"wp-test-php": [
6868
"@wp-test-ensure-env @no_additional_args",
6969
"@wp-test-remove-database @no_additional_args",
70-
"cd wordpress && node tools/local-env/scripts/docker.js run --rm php php -d opcache.enable_cli=1 -d opcache.memory_consumption=256 ./vendor/bin/phpunit @additional_args"
70+
"cd wordpress && node tools/local-env/scripts/docker.js run --rm php php -d opcache.enable_cli=1 -d opcache.memory_consumption=256 -d opcache.jit=tracing -d opcache.jit_buffer_size=64M ./vendor/bin/phpunit @additional_args"
7171
],
7272
"wp-test-sqlite-plugin-php": [
7373
"@wp-test-php /var/www/tests-sqlite-database-integration/phpunit"

0 commit comments

Comments
 (0)