Class: DiffBench
- Inherits:
-
Object
show all
- Defined in:
- lib/diffbench.rb,
lib/diffbench/bm.rb,
lib/diffbench/encoder.rb
Defined Under Namespace
Classes: Bm, Encoder, Error, Runner
Class Method Summary
collapse
Class Method Details
.bm(&block) ⇒ Object
219
220
221
|
# File 'lib/diffbench.rb', line 219
def bm(&block)
DiffBench::Bm.new(&block)
end
|
.run(*args) ⇒ Object
216
217
218
|
# File 'lib/diffbench.rb', line 216
def run(*args)
Runner.new(*args).run
end
|