Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Graphing utility for httperfrb
Ruby
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/httperf
spec
.gitignore
.travis.yml
Gemfile
Gemfile.lock
HISTORY.md
README.md
RSPECOUT.md
Rakefile
httperfrb-grapher.gemspec

README.md

HTTPerf::Grapher

Documentation | Coverage | RSpec Out

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'

See: HTTPerf.rb

Usage - HTTPerf

See: HTTPerf.rb

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

Something went wrong with that request. Please try again.