aboutsummaryrefslogtreecommitdiffhomepage
path: root/prof.sh
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-13 11:14:54 +0900
committernsfisis <nsfisis@gmail.com>2024-03-13 11:14:54 +0900
commitaa1df29860047c73d93c40ec850c3953d8d3c37b (patch)
treec52e10ece76c8dad477a1c4a4cd4815d61e897e8 /prof.sh
parent6ab8cb690303177200dc59550da972b36e7cfd18 (diff)
downloadphp-waddiwasi-aa1df29860047c73d93c40ec850c3953d8d3c37b.tar.gz
php-waddiwasi-aa1df29860047c73d93c40ec850c3953d8d3c37b.tar.zst
php-waddiwasi-aa1df29860047c73d93c40ec850c3953d8d3c37b.zip
perf: change structure of MemInst to array of strings
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 1d1d4b0..0361100 100644
--- a/prof.sh
+++ b/prof.sh
@@ -1,3 +1,3 @@
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=4G -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 '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