aboutsummaryrefslogtreecommitdiffhomepage
path: root/prof.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-14 01:17:44 +0900
committernsfisis <nsfisis@gmail.com>2024-03-14 01:17:44 +0900
commitf4edb19f21c4777a95a5a8705d0e5f602103eb44 (patch)
treed6f7b6a9033767737d4eb7d16b7af007740bc420 /prof.sh
parent9bf23e2abf74d70b77726a4300917c78bc8035e7 (diff)
downloadphp-waddiwasi-f4edb19f21c4777a95a5a8705d0e5f602103eb44.tar.gz
php-waddiwasi-f4edb19f21c4777a95a5a8705d0e5f602103eb44.tar.zst
php-waddiwasi-f4edb19f21c4777a95a5a8705d0e5f602103eb44.zip
perf: disable assertions
Diffstat (limited to 'prof.sh')
-rw-r--r--prof.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/prof.sh b/prof.sh
index 2d456e7..9fd164a 100644
--- a/prof.sh
+++ b/prof.sh
@@ -2,4 +2,4 @@ timestamp="$(date '+%Y%m%d-%H%M')"
# php -d 'error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED' vendor/bin/reli inspector:trace -o traces/"$timestamp".log -- 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 2> traces/"$timestamp".stderr.log
# vendor/bin/reli converter:flamegraph < traces/"$timestamp".log > traces/"$timestamp".svg
-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 2> traces/"$timestamp".stderr.log
+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 2> traces/"$timestamp".stderr.log