diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-03-11 23:22:43 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-03-11 23:22:43 +0900 |
| commit | a19354ea930054e848930f5f338b4c0c91bbb8bc (patch) | |
| tree | f45d6ed12af642399f26de2cc0b90622f35a674d /Makefile | |
| parent | 75e14575b4ae1a0cc428ccf2944c314b0c908f93 (diff) | |
| download | php-waddiwasi-a19354ea930054e848930f5f338b4c0c91bbb8bc.tar.gz php-waddiwasi-a19354ea930054e848930f5f338b4c0c91bbb8bc.tar.zst php-waddiwasi-a19354ea930054e848930f5f338b4c0c91bbb8bc.zip | |
feat: benchmark
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1,3 +1,7 @@ +.PHONY: bench +bench: + hyperfine --warmup=1 --style=nocolor 'make run' | tee benchmarks/$$(date '+%Y%m%d-%H%M').log + .PHONY: run run: 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 |
