Skip to content

A simple standalone script to plot HdrHistograms directly from the output of wrk load testing tool

License

Notifications You must be signed in to change notification settings

mikkokar/hdr-plot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hdr-plot for HdrHistogram

A standalone plotting script for https://github.com/giltene/wrk2 and https://github.com/HdrHistogram/HdrHistogram.

This is just a quick and unsophisticated script to quickly plot the HdrHistograms directly from the output of wkr2 benchmarks.

For example:

myplot.png

how to run

installation:

pip3 install --user --upgrade hdr-plot

usage:

usage: hdr-plot [-h] [--output OUTPUT] [--title TITLE] [--nobox] files [files ...]

Then run wrk with the -L option and store the output into a file, like:

wrk -t2 -c100 -d30s -R2000 -L https://127.0.0.1:8080/index.html &> result.out

Finally plot the percentile distribution:

hdr-plot --output myplot.png --title "My plot" ./result.out [...]

You can provide more files to be plotted on the same graph:

hdr-plot --output myplot.png --title "My plot" ./sample/file1.out ./sample/file2.out ./sample/file3.out

License

Copyright © 2018 Bruno Bonacci - Distributed under the Apache License v 2.0

About

A simple standalone script to plot HdrHistograms directly from the output of wrk load testing tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%