Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 2.07 KB

README.md

File metadata and controls

63 lines (40 loc) · 2.07 KB

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