Giter Club home page Giter Club logo

kingkai's Introduction

King Kai: HTTP benchmark reports using Vegeta

kingkai generates HTTP benchmark reports by comparing past and future attacks made by vegeta.

King Kai thinking

He possesses great intelligence and knowledge about the universe, and specializes in universal telepathic links. Even though he was already weaker than Vegeta before he taught Goku, King Kai is still a veritable library of skills, techniques and literally centuries of wisdom. (source)

Installation

Install Go, then run:

go get -u github.com/slimsag/kingkai

Running

First use vegeta attack to produce some before and after gob files:

$ mkdir before
$ echo "GET https://google.com" | vegeta attack -duration=5s -name 'Google.com @ 50 QPS / 5s' > before/query1.bin

$ mkdir after
$ echo "GET https://google.com" | vegeta attack -duration=5s -name 'Google.com @ 50 QPS / 5s' > after/query1.bin

$ tree before/ after/
before/
└── query1.bin
after/
└── query1.bin

0 directories, 2 files

Then make use of kingkai:

$ kingkai before/ after/

Which outputs the following Markdown result:

Google.com @ 2 QPS / 30s

Mean P50 P95 P99 Max Success Ratio
178ms → 142ms (-20.22%) 131ms → 130ms (-0.76%) 436ms → 167ms (-61.70%) 517ms → 613ms (18.57%) 523ms → 655ms (25.24%) 1% → 1%

Thanks

@Andoryuuta for helping to write this all while 🛶 Canoeing across the atlantic.

kingkai's People

Contributors

slimsag avatar

Stargazers

Javed Khan avatar

Watchers

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