diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-14 23:01:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-14 23:38:42 +0900 |
| commit | a820647b099a266e4a578dbef67e50107b162f80 (patch) | |
| tree | be83b1b552cd4dbf5a287536109d969998d3a8ec /prof.sh | |
| parent | 77e4429b9bc8ef9d1d2791c6665c551895691645 (diff) | |
| download | php-waddiwasi-a820647b099a266e4a578dbef67e50107b162f80.tar.gz php-waddiwasi-a820647b099a266e4a578dbef67e50107b162f80.tar.zst php-waddiwasi-a820647b099a266e4a578dbef67e50107b162f80.zip | |
perf: optimize memory allocation by FFI
Diffstat (limited to 'prof.sh')
| -rw-r--r-- | prof.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ 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 +# php -d 'error_reporting=E_ALL & ~E_DEPRECATED & ~E_USER_DEPRECATED' vendor/bin/reli inspector:trace -o traces/"$timestamp".log -- php -d memory_limit=512M -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 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 +php -d zend.assertions=-1 -d memory_limit=512M -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 |
