0.1.2 • Published 5 years ago

goblin-base-benchmark v0.1.2

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

NPM

Goblin Base Benchmark

It is a scenario-based clustered benchmark tool for Goblin Base Server instance or any http/websocket server.

Use a plain javascript with async/await to make a benchmarking scenario - the result is represented by a bunch of JSON-files with performance data.

Usage

Install

$ npm install -g goblin-base-benchmark

Use

Usage: index [options]

Options:
  -V, --version            output the version number
  --peers <peers>          How many test players(peers) to imitate
  --bulkSize <bulkSize>    Requests bulk size for every node process
  --onHost <onHost>        Target host to attack
  --onPort <onPort>        Target port to attack
  --redisHost <redisHost>  Host of Redis for cluster control
  --redisPort <redisPort>  Port of Redis for cluster control
  --redisAuth <redisAuth>  Redis password if presented
  --proc <proc>            The count of daemons that "cluster" module will produce
  --proct <proct>          The total amount of daemons that should be in cluster(equal to proc by default)
  --pref <pref>            A path to preferences JSON file. A default if not provided
  --bench <bench>          A path to benchmark scenario javascript file
  -h, --help               output usage information

An example of scenarios with commentary

Other links

LICENSE

MIT