Module: PerfLab

Defined in:
lib/perflab.rb,
lib/perflab/util.rb,
lib/perflab/config.rb,
lib/perflab/operator.rb,
lib/perflab/profiler.rb,
lib/perflab/benchmark.rb

Defined Under Namespace

Classes: Benchmark, Config, Operator, Profiler, Util

Class Method Summary collapse

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:

  • (config)


14
15
16
17
18
# File 'lib/perflab.rb', line 14

def configure
  config = Config.new
  yield config
  Operator.new(config.lambdas)
end