Skip to content
Portable Benchmarking Framework in Node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
data
obj/src
src
test
.gitignore
CHANGELOG.md
LICENSE
README.md
benchmark.js
component.conf.ps1
package.json
tsconfig.json

README.md

Pip.Services Logo
Portable Benchmarking Framework in Node.js

This benchmarking framework ported cross multiple languages to obtain comparible performance metrics across different implementations. In addition to performance benchmarking, it helps in other types of non-functional testing like load, reliability or concurrency.

  • Measures performance in transactions per second or TPS
  • Supports active (by calling Execute method) or passive (by reporting via Context) measurement methods
  • Supports configuration parameters to set connection strings or other settings for benchmarks
  • Runs benchmarks sequential or in proportional by allocating % of calls to each benchmark
  • Measures peak or nominal measurement at specified transaction rate
  • Measures system utilization (RAM and CPU) during benchmarking process
  • Measures overall environment performance (CPU, Video, Disk) for objective interpretation of results
  • Capture and errors or validation results
  • Console runner to execute benchmarks

Usage

To run benchmark do the following

node ./benchmark.js -a <path to suite> -b <benchmark name> -p <param>=<value>

To show available benchmarks

node ./benchmark.js -a <path to suite> -B

To show available parameters

node ./benchmark.js -a <path to suite> -P

To measure environment (CPU, video, disk)

node ./benchmark.js -e

Installation

TBD...

Acknowledgements

This module created and maintained by Sergey Seroukhov.

You can’t perform that action at this time.