Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pbenchmark

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pbenchmark

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

pbenchmark

A simple tool to benchmark Pusher.com compatible servers.

Dependency Status

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/

Tech-Angels

FAQs

Package last updated on 14 Sep 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc