All Projects → doubaokun → Node Ab

doubaokun / Node Ab

Licence: mit
A command tool to test the performance of HTTP services.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Node Ab

Gatling Dubbo
A gatling plugin for running load tests on Apache Dubbo(https://github.com/apache/incubator-dubbo) and other java ecosystem.
Stars: ✭ 131 (-34.5%)
Mutual labels:  benchmarking
Are We Fast Yet
Are We Fast Yet? Comparing Language Implementations with Objects, Closures, and Arrays
Stars: ✭ 161 (-19.5%)
Mutual labels:  benchmarking
Motorhead
A Rails Engine framework that helps safe and rapid feature prototyping
Stars: ✭ 182 (-9%)
Mutual labels:  ab-testing
Sltbench
C++ benchmark tool. Practical, stable and fast performance testing framework.
Stars: ✭ 137 (-31.5%)
Mutual labels:  benchmarking
Kdiskmark
A simple open-source disk benchmark tool for Linux distros
Stars: ✭ 152 (-24%)
Mutual labels:  benchmarking
Kd lib
A Pytorch Knowledge Distillation library for benchmarking and extending works in the domains of Knowledge Distillation, Pruning, and Quantization.
Stars: ✭ 173 (-13.5%)
Mutual labels:  benchmarking
Ml Projects
ML based projects such as Spam Classification, Time Series Analysis, Text Classification using Random Forest, Deep Learning, Bayesian, Xgboost in Python
Stars: ✭ 127 (-36.5%)
Mutual labels:  ab-testing
Rabbitmq Perf Test
A load testing tool
Stars: ✭ 197 (-1.5%)
Mutual labels:  benchmarking
Avalanche
Avalanche: a End-to-End Library for Continual Learning.
Stars: ✭ 151 (-24.5%)
Mutual labels:  benchmarking
Gerbil
GERBIL - General Entity annotatoR Benchmark
Stars: ✭ 180 (-10%)
Mutual labels:  benchmarking
Shadowreader
Serverless load testing for replaying website traffic. Powered by AWS Lambda.
Stars: ✭ 138 (-31%)
Mutual labels:  benchmarking
Mqtt Benchmark
Simple MQTT (broker) benchmarking tool
Stars: ✭ 146 (-27%)
Mutual labels:  benchmarking
Tsung
Tsung is a high-performance benchmark framework for various protocols including HTTP, XMPP, LDAP, etc.
Stars: ✭ 2,185 (+992.5%)
Mutual labels:  benchmarking
Izanami
Izanami is a shared configuration, feature flipping and A/B testing server well-suited for micro-service architecture implementation.
Stars: ✭ 133 (-33.5%)
Mutual labels:  ab-testing
K8s Deployment Strategies
Kubernetes deployment strategies explained
Stars: ✭ 2,649 (+1224.5%)
Mutual labels:  ab-testing
Benchmarking Tools
Repository for the GA4GH Benchmarking Team work developing standardized benchmarking methods for germline small variant calls
Stars: ✭ 129 (-35.5%)
Mutual labels:  benchmarking
Advio
An Authentic Dataset for Visual-Inertial Odometry
Stars: ✭ 170 (-15%)
Mutual labels:  benchmarking
Mangohud
A Vulkan and OpenGL overlay for monitoring FPS, temperatures, CPU/GPU load and more. Discord: https://discordapp.com/invite/Gj5YmBb
Stars: ✭ 2,994 (+1397%)
Mutual labels:  benchmarking
Sklearn Benchmarks
A centralized repository to report scikit-learn model performance across a variety of parameter settings and data sets.
Stars: ✭ 194 (-3%)
Mutual labels:  benchmarking
Google Optimize Module
SSR friendly Google Optimize module for Nuxt.js
Stars: ✭ 180 (-10%)
Mutual labels:  ab-testing

Node ab testing

Automatically benchmarking the performance of HTTP services.

node-ab

How it works

Ab testing tool to check the performance of an HTTP service. 100 more GET request will be increased per second. It will not increase more request if there are more than 10 request not returned. It will stop when there are less than 99% request return successful.

The requests number per increase round and the time of each round can be changed by user.

Installation:

sudo npm install node-ab -g 

Usage:

nab [URL] [--increase 100] [--milliseconds 1] [--help] [--verbose]


nab --help
Usage: nab <URL> [--increase 100] [--milliseconds 1] [--help] [--verbose]

Samples:
    nab http://192.168.1.66
    nab http://localhost
    nab http://localhost:4000 --increase 200
    nab http://localhost:4000 -i 200
    nab http://localhost:4000 --milliseconds 1500
    nab http://localhost:4000 --milliseconds 1500 --verbose
    nab http://localhost:4000 -m 1500
    nab http://localhost:4000 -m 1500 -v
    nab --help
    nab -h

Example:

nab http://localhost:4000/test
Request number: 200 Return number: 200 QPS: 66 Traffic: 32KB per second
Request number: 800 Return number: 800 QPS: 133 Traffic: 65KB per second
Request number: 1700 Return number: 1700 QPS: 188 Traffic: 92KB per second
Request number: 2900 Return number: 2900 QPS: 241 Traffic: 117KB per second
Request number: 4400 Return number: 4400 QPS: 293 Traffic: 143KB per second
Request number: 6200 Return number: 6200 QPS: 344 Traffic: 168KB per second
Request number: 8300 Return number: 8300 QPS: 394 Traffic: 192KB per second
Request number: 10700 Return number: 10700 QPS: 445 Traffic: 217KB per second
Request number: 13400 Return number: 13400 QPS: 495 Traffic: 242KB per second
Request number: 16400 Return number: 16366 QPS: 545 Traffic: 266KB per second
Request number: 16400 Return number: 16366 QPS: 495 Traffic: 241KB per second
Request number: 16400 Return number: 16366 QPS: 454 Traffic: 221KB per second
Request number: 16400 Return number: 16366 QPS: 419 Traffic: 204KB per second
Request number: 16400 Return number: 16366 QPS: 389 Traffic: 190KB per second
Request number: 18400 Return number: 18268 QPS: 405 Traffic: 198KB per second
Request number: 21400 Return number: 21009 QPS: 437 Traffic: 213KB per second

Development

git clone [email protected]:doubaokun/node-ab.git
npm install -d

Start a sample http service at http://127.0.0.1:4000/test

node sample/app.js

Start testing the sample http service

./bin/nab http://localhost:81/test
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].