From 6ab8cb690303177200dc59550da972b36e7cfd18 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 13 Mar 2024 08:50:04 +0900 Subject: feat: record memory usage --- prof.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prof.sh') diff --git a/prof.sh b/prof.sh index bd5a456..1d1d4b0 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 +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 vendor/bin/reli converter:flamegraph < traces/"$timestamp".log > traces/"$timestamp".svg -- cgit v1.2.3-70-g09d2