No commit activity in last 3 years
No release in over 3 years
Graphing utility for httperfrb.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0

Runtime

~> 0.3.6
~> 0.3.3
~> 2.13.1
 Project Readme

HTTPerf::Grapher

WARNINGS

This may or may not be working at this moment -- this is still very much beta.

You can use this with my version of httperf, which adds the necessary output. This is very experimental, so use at your own risk.

If your verbose output contains the following type of output, this will work for you:

    Connection lifetime = 719.5
    Connection lifetime = 575.5
    Connection lifetime = 285.5
    Connection lifetime = 156.5
    Connection lifetime = 400.5
    Connection lifetime = 145.5
    Connection lifetime = 349.5
    Connection lifetime = 583.5
    Connection lifetime = 147.5
    Connection lifetime = 138.5

You will also know if HTTPerf::Grapher is usable if your HTTPerf parsed results contain the following keys:

    :connection_times
    :connection_time_75_pct
    :connection_time_80_pct
    :connection_time_85_pct
    :connection_time_90_pct
    :connection_time_95_pct
    :connection_time_99_pct

Installing 'rubyops httperf'

See: httperf-0.9.1 with individual connection times for installation instructions.

Installing 'httperfrb'

Usage - HTTPerf

Usage - HTTPerf::Grapher

    httperf_graph = HTTPerf::Grapher.new
    httperf_graph.output_file = "/tmp/httperf_graph.png"
    
    #
    # httperf_graph.graph_settings = { ... overide Gruff defaults }
    # 
   
    httperf_graph.graph( HTTPerf::Parser( httperf_verbose_results ) ) 

Example Image

rspec result image