diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-12 01:35:32 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-12 11:43:09 +0900 |
| commit | 461fa9cfbcf51609caa2b14b723ceb3df0bf62ce (patch) | |
| tree | 09492e1da705b498a918818766e7abe8b43369d0 /prof.sh | |
| parent | 7dee0493f72c09ecf74a394d6596edfdda677974 (diff) | |
| download | php-waddiwasi-461fa9cfbcf51609caa2b14b723ceb3df0bf62ce.tar.gz php-waddiwasi-461fa9cfbcf51609caa2b14b723ceb3df0bf62ce.tar.zst php-waddiwasi-461fa9cfbcf51609caa2b14b723ceb3df0bf62ce.zip | |
feat: install reli
Diffstat (limited to 'prof.sh')
| -rw-r--r-- | prof.sh | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -0,0 +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 +vendor/bin/reli converter:flamegraph < traces/"$timestamp".log > traces/"$timestamp".svg |
