Module: B
- Defined in:
- lib/b.rb,
lib/b/version.rb,
lib/b/output_plugins.rb
Defined Under Namespace
Classes: Ase, ConsoleWriter, Enchmark, HtmlWriter, SanityViolation, TsvWriter
Constant Summary collapse
- DEFAULT_ROUNDS =
50
- VERSION =
"1.0.1"
Class Method Summary collapse
Class Method Details
.enchmark(id = 'Untitled Benchmark', opts = {}, &block) ⇒ Object
11 12 13 14 15 |
# File 'lib/b.rb', line 11 def self.enchmark(id='Untitled Benchmark', opts={}, &block) opts = {:output => ConsoleWriter.new}.merge(opts) opts[:parent] = opts[:output] Blockenspiel.invoke(block, Enchmark.new(id, opts)).run! end |