aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: ee7c2402a45cab862d924923c4b71adadda650cb (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 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