pbenchmark
A simple tool to benchmark Pusher.com compatible servers.
Getting started
Install the pbenchmark gem:
gem install pbenchmark
Run it against your server, for example a Slanger daemon:
pbenchmark -c 10 -n 5 -i 43 -k bcff8137f9c04db491199d4578a37286 -s 68f5400d1aaa4d1bbaaf70bb0b866cb7 -a 127.0.0.1:80 -w 127.0.0.1:8080
Messages are sent via the API, and the time it took them to reach the websocket clients is printed.
Commmand line parameters
-c Number of websocket clients. -n Number of messages to send via the API. -i Application ID. -k Application key. -s Application secret. -a API host and port. Example: 127.0.0.1:80. -w Websocket server host and port. Example: 127.0.0.1:8080 --size Payload size in bytes.
Credits
Gilbert Roulot @ Tech-angels - http://www.tech-angels.com/