diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-13 08:50:04 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-13 08:50:04 +0900 |
| commit | 6ab8cb690303177200dc59550da972b36e7cfd18 (patch) | |
| tree | 4bac7d04ebe9ef20a0f8e86360c099ddbf163fb3 /prof.sh | |
| parent | 461fa9cfbcf51609caa2b14b723ceb3df0bf62ce (diff) | |
| download | php-waddiwasi-6ab8cb690303177200dc59550da972b36e7cfd18.tar.gz php-waddiwasi-6ab8cb690303177200dc59550da972b36e7cfd18.tar.zst php-waddiwasi-6ab8cb690303177200dc59550da972b36e7cfd18.zip | |
feat: record memory usage
Diffstat (limited to 'prof.sh')
| -rw-r--r-- | prof.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
