Makefile 496 Bytes
Newer Older
1
.PHONY: test
2
test:
3 4 5 6
	./vendor/bin/phpunit
.PHONY: docs
docs:
	./vendor/bin/phpdoc --template=responsive-twig --defaultpackagename=PhpAmqpLib --title='php-amqplib' -d ./PhpAmqpLib -t ./docs
7
.PHONY: benchmark
8
benchmark:
Alvaro Videla's avatar
Alvaro Videla committed
9
	@echo "Publishing 4000 msgs with 1KB of content:"
10
	php benchmark/producer.php 4000
Alvaro Videla's avatar
Alvaro Videla committed
11
	@echo "Consuming 4000:"
Brikou Carré's avatar
Brikou Carré committed
12
	php benchmark/consumer.php
13 14 15
	@echo "Stream produce 100:"
	php benchmark/stream_tmp_produce.php 100
	@echo "Socket produce 100:"
16
	php benchmark/socket_tmp_produce.php 100