blob: 461246cafa855e8a9dc19e735816ea060f49ce2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
.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
.PHONY: test
test:
@bash test.sh
|