Skip to content

csokun/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

NodeJS Benchmark Tools

Bundling two most popular npm packages used for performing API request benchmark concurrently and autocannon.

Usage

docker run -it --rm csokun/benchmark:latest

concurrently "autocannon -f -c 50 localhost:3000/a" \
             "autocannon -f -c 50 localhost:3000/b" \
             "autocannon -f -c 50 localhost:3000/c"

or, you can launch a quick command like this:

docker run -it --rm csokun/benchmark:latest /bin/sh -c 'autocannon -f -c 1 google.com'

Reference

This docker build is inspired by this blog post https://www.nearform.com/blog/how-to-build-a-real-time-node-js-performance-monitoring-system/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published