https://github.com/dantleech/phpcr-benchmark
Benchmarking suite for PHPCR
https://github.com/dantleech/phpcr-benchmark
Last synced: about 1 year ago
JSON representation
Benchmarking suite for PHPCR
- Host: GitHub
- URL: https://github.com/dantleech/phpcr-benchmark
- Owner: dantleech
- Created: 2014-10-12T10:42:59.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-23T16:35:57.000Z (over 11 years ago)
- Last Synced: 2025-03-25T17:51:04.781Z (over 1 year ago)
- Language: PHP
- Size: 414 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PHPCR Benchmarking Suite
========================
This benchmarking suite uses a fork of the
[Athletic](https://github.com/polyfractal/athletic) benchmarking library.
It also has scripts to output data generated from the benchmarks into statsd
so that the data can be visualized in Graphite.
Install the Docker Containers
-----------------------------
````
# Rabbit MQ
$ sudo docker pull dockerfile/rabbitmq
$ sudo docker run -d -p 5672:5672 -p 15672:15672 dockerfile/rabbitmq
# Graphite + Statsd
$ sudo docker pull hopsoft/graphite-statsdsudo docker run -d \
--name graphite \
-p 8082:80 \
-p 2003:2003 \
-p 8125:8125/udp \
hopsoft/graphite-statsd
````
Install
-------
````
$ composer install
````
Bootstrap doctrine-dbal:
```
$ ./bin/doctrine-dbal-sqlite/init.sh
```
If you want to run Jackrabbit benchmarks, install the jackrabbit standalong
server and run it.
Create some benchmarks
----------------------
Run the consumer:
````
$ php bin/consumer.php
````
Queue a benchmark or two:
````
$ php bin/send.php doctrine-dbal-sqlite
$ php bin/send.php jackrabbit
````
Look at graphs
--------------
http://localhost:8082/