aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 6ff957636cb5c78ed4da89d65ffb16df23fa1a1d (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=512M -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