Module: Benchmark
- Defined in:
- lib/benchmark/plot.rb,
lib/benchmark/plot/plotter.rb,
lib/benchmark/plot/version.rb,
lib/benchmark/plot/report_maker.rb
Defined Under Namespace
Modules: Plot
Class Method Summary collapse
Class Method Details
.plot(test_data, opts = {}) {|reporter| ... } ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/benchmark/plot.rb', line 9 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 |