forked from php-amqplib/php-amqplib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
18 lines (18 loc) · 646 Bytes
/
Makefile
File metadata and controls
18 lines (18 loc) · 646 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
.PHONY: test
test:
./vendor/bin/phpunit
.PHONY: docs
docs:
wget -qN https://github.com/phpDocumentor/phpDocumentor2/releases/download/v2.9.1/phpDocumentor.phar
rm -rf ./docs/*
php -d error_reporting=0 ./phpDocumentor.phar run -q --force --template=clean --defaultpackagename=PhpAmqpLib --title='php-amqplib' -d ./PhpAmqpLib -t ./docs
.PHONY: benchmark
benchmark:
@echo "Publishing 4000 msgs with 1KB of content:"
php benchmark/producer.php 4000
@echo "Consuming 4000:"
php benchmark/consumer.php
@echo "Stream produce 100:"
php benchmark/stream_tmp_produce.php 100
@echo "Socket produce 100:"
php benchmark/socket_tmp_produce.php 100