The runner runs all available benchmarks and returns as soon as all of them are finished. Additionally it allows the loading of reciepts from files or the redis storage.
Runs all benchmarks
# File lib/bigbench/runner.rb, line 15 def self.run! raise NoBenchmarksDefined.new if BigBench.benchmarks.empty? # Run all benchmarks EventMachine.run { # Start Timer Thread.new { sleep(BigBench.duration.to_i); EventMachine.stop } # Start Benchmarks BigBench.benchmarks.each{ |benchmark| benchmark.run! } } end