blob: 7d1cdb4c85b1da54537fb8b0eaa6b347466f1ef7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
.PHONY: prof
prof:
@bash prof.sh
.PHONY: bench
bench:
hyperfine --warmup=1 --style=nocolor 'make run' | tee benchmarks/$$(date '+%Y%m%d-%H%M').log
.PHONY: run
run:
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
.PHONY: test
test:
@bash test.sh
|