-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
14 lines (10 loc) · 1012 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
help: ## shows this help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_\-\.]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)
install-benchmarks: ## install all required dependencies to run benchmarks
composer require azjezz/psl:2.0.x-dev --ignore-platform-reqs
benchmarks: install-benchmarks ## run benchmarks
./vendor/bin/phpbench run --profile=local --group=others
create-benchmark-reference: install-benchmarks ## run benchmarks, mark current run as "reference"
./vendor/bin/phpbench run --profile=local --group=others --tag=benchmark_reference
compare-benchmark-to-reference: ## run benchmarks, compare result to the "reference" run
./vendor/bin/phpbench run --profile=local --group=others --ref=benchmark_reference