From a19354ea930054e848930f5f338b4c0c91bbb8bc Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 11 Mar 2024 23:22:43 +0900 Subject: feat: benchmark --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index db03d11..461246c 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3-70-g09d2