Giter Club home page Giter Club logo

abx's Introduction

abx

Apache Bench X

Test performance by increasing concurrency, outputs a CSV of mean/median/max response time and failure rate.

Usage:

./abx.py time_per_test url_to_test

Example:

./abx.py 10 http://gramercystudios.com/

running ab -c 5 -t 10 http://gramercystudios.com/
Finished 200 requests
running ab -c 10 -t 10 http://gramercystudios.com/
Finished 431 requests
running ab -c 15 -t 10 http://gramercystudios.com/
Finished 648 requests
running ab -c 20 -t 10 http://gramercystudios.com/
Finished 864 requests
running ab -c 25 -t 10 http://gramercystudios.com/
Finished 1099 requests
running ab -c 30 -t 10 http://gramercystudios.com/
Finished 1318 requests
running ab -c 40 -t 10 http://gramercystudios.com/
Finished 1780 requests
running ab -c 50 -t 10 http://gramercystudios.com/
Finished 2245 requests
running ab -c 60 -t 10 http://gramercystudios.com/
Finished 2686 requests
running ab -c 70 -t 10 http://gramercystudios.com/
Finished 3125 requests
running ab -c 80 -t 10 http://gramercystudios.com/
Finished 3565 requests
running ab -c 90 -t 10 http://gramercystudios.com/
Finished 4064 requests
running ab -c 100 -t 10 http://gramercystudios.com/
Finished 4527 requests


concurrency,total_mean,total_median,total_max,percentage_failed
5,247.0,236.0,703.0,0.0
10,229.0,232.0,331.0,0.0
15,229.0,229.0,363.0,0.0
20,229.0,228.0,438.0,0.0
25,225.0,225.0,459.0,0.0
30,225.0,226.0,541.0,0.0
40,222.0,223.0,525.0,0.0
50,220.0,220.0,343.0,0.0
60,221.0,222.0,482.0,0.0
70,221.0,221.0,333.0,0.0
80,222.0,222.0,373.0,0.0
90,219.0,219.0,458.0,0.0
100,218.0,219.0,337.0,0.0

This can then be visualised using your favourite charting library or excel. For example:

abx's People

Contributors

alexlouden avatar

Stargazers

 avatar

Watchers

 avatar  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.