Module: Benchmark
- Defined in:
- lib/benchmark/driver.rb,
lib/benchmark/driver/version.rb
Defined Under Namespace
Modules: Driver, Output, Runner
Class Method Summary collapse
-
.driver(*args, &block) ⇒ Object
RubyDriver entrypoint.
Class Method Details
.driver(*args, &block) ⇒ Object
RubyDriver entrypoint.
3 4 5 6 7 8 |
# File 'lib/benchmark/driver.rb', line 3 def self.driver(*args, &block) dsl = Driver::RubyDslParser.new(*args) block.call(dsl) Driver.run(dsl.configuration) end |