Sha256: b1e7eb65932176eb40092d12b850b22defd175b1afd1cabb47b90a3a13ee1053

Contents?: true

Size: 372 Bytes

Versions: 1

Compression:

Stored size: 372 Bytes

Contents

require 'benchmark'
require 'gruff'

require 'benchmark/plot/plotter'
require 'benchmark/plot/report_maker'
require 'benchmark/plot/version'

module Benchmark
  def self.plot test_data, opts={}, &block
    include Benchmark::Plot

    reporter = ReportMaker.new(test_data)
    yield(reporter)
    plotter = Plotter.new reporter, test_data, opts
    plotter.plot
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
benchmark-plot-0.1 lib/benchmark/plot.rb