diff options
| -rw-r--r-- | composer.json | 2 | ||||
| -rw-r--r-- | tools/bench.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/composer.json b/composer.json index f4defbd..e0da8fd 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ ], "ecs": "ecs check", "ecsfix": "ecs --memory-limit=1G check --fix", - "example:php-on-wasm": "@php -d memory_limit=512M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php", + "example:php-on-wasm": "@php -d memory_limit=256M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php", "example:rubyvm-on-php-on-wasm": "@php -d memory_limit=-1 -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/rubyvm-on-php-on-wasm/php-wasm.php", "lint": [ "@ecs", diff --git a/tools/bench.sh b/tools/bench.sh index feeb714..056504a 100644 --- a/tools/bench.sh +++ b/tools/bench.sh @@ -1 +1 @@ -hyperfine --warmup=1 --style=nocolor 'php -d zend.assertions=-1 -d memory_limit=512M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php' | tee benchmarks/$(date '+%Y%m%d-%H%M').log +hyperfine --warmup=1 --style=nocolor 'php -d zend.assertions=-1 -d memory_limit=256M -d opcache.enable_cli=on -d opcache.jit=on -d opcache.jit_buffer_size=1G examples/php-on-wasm/php-wasm.php' |
