Skip to content

Commit dead16c

Browse files
committed
Makefile: added phpbench target
allow running the benchmark locally
1 parent d067441 commit dead16c

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,9 @@ infection:
189189
--skip-initial-tests \
190190
--ignore-msi-with-no-mutations \
191191
--logger-text=php://stdout
192+
193+
.PHONY: phpbench
194+
phpbench:
195+
composer require --dev phpbench/phpbench:^1.2.15
196+
XDEBUG_MODE=off tests/vendor/bin/phpbench run
197+
composer remove phpbench/phpbench

0 commit comments

Comments
 (0)