Giter Club home page Giter Club logo

swarm-bench's Introduction

Swarm Benchmarking Tool

NAME:
   swarm-bench - Swarm Benchmarking Tool

USAGE:
   swarm-bench [global options] command [command options] [arguments...]

VERSION:
   0.1.0

COMMANDS:
   help, h	Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --concurrency, -c "1"	Number of multiple requests to perform at a time. Default is one request at a time.
   --requests, -n "1"		Number of containers to start for the benchmarking session. The default is to just start a single container.
   --image, -i 			Image(s) to use for benchmarking.
   --help, -h			show help
   --version, -v		print the version

Installing

$ go get github.com/aluzzardi/swarm-bench

Example

$ swarm-bench -c 2 -n 10 -i nginx
[ 10%] 1/10 containers started
[ 20%] 2/10 containers started
[ 30%] 3/10 containers started
[ 40%] 4/10 containers started
[ 50%] 5/10 containers started
[ 60%] 6/10 containers started
[ 70%] 7/10 containers started
[ 80%] 8/10 containers started
[ 90%] 9/10 containers started
[100%] 10/10 containers started

Time taken for tests: 2.772266804s
Time per container: 228ms [50th] | 596ms [90th] | 675ms [99th]

swarm-bench's People

Contributors

aluzzardi avatar vieux avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.