Module: RubybenchRunner

Defined in:
lib/rubybench_runner.rb,
lib/rubybench_runner/version.rb,
lib/rubybench_runner/base_runner.rb,
lib/rubybench_runner/rails_runner.rb,
lib/rubybench_runner/configurations.rb,
lib/rubybench_runner/dependencies_checker.rb

Defined Under Namespace

Classes: BaseRunner, Configurations, DependenciesChecker, MissingDependency, RailsRunner

Constant Summary collapse

VERSION =
'0.1.0'
CURRENT_PG_VERSION =

TODO: ideally those should be fetched from rubybench.org API

"9.6"
CURRENT_MYSQL_VERSION =
"5.6.24"

Class Method Summary collapse

Class Method Details

.run(repo, script_url, repo_path, opts = {}) ⇒ Object



2
3
4
5
6
7
8
9
# File 'lib/rubybench_runner/base_runner.rb', line 2

def self.run(repo, script_url, repo_path, opts = {})
  if repo == "rails"
    klass = RubybenchRunner::RailsRunner
  else
    raise "Unknown repo #{repo}"
  end
  klass.new(script_url, repo_path, opts).run
end