Module: Benny
- Extended by:
- DSL
- Defined in:
- lib/benny.rb,
lib/benny/cli.rb,
lib/benny/dsl.rb,
lib/benny/init.rb,
lib/benny/output.rb,
lib/benny/version.rb,
lib/benny/configuration.rb,
lib/benny/reporters/file.rb,
lib/benny/reporters/gruff.rb,
lib/benny/reporters/stdout.rb,
lib/benny/executors/benchmark.rb,
lib/benny/executors/environment.rb
Defined Under Namespace
Modules: DSL, Executors, Init, Output, Reporters Classes: CLI, Configuration
Constant Summary collapse
- VERSION =
'0.0.1'
Instance Attribute Summary
Attributes included from DSL
Class Method Summary collapse
Methods included from DSL
benchmarks, configuration, configure, define, load
Class Method Details
.execute ⇒ Object
23 24 25 26 |
# File 'lib/benny.rb', line 23 def self.execute Executors::Environment.new(environments: configuration.environments, reporter: configuration.reporter).run! end |
.load_benchmarks(path) ⇒ Object
28 29 30 31 32 |
# File 'lib/benny.rb', line 28 def self.load_benchmarks(path) Dir[path].each do |file| load(file) end end |