module RubybenchRunner
Constants
- CURRENT_MYSQL_VERSION
- CURRENT_PG_VERSION
TODO: ideally those should be fetched from rubybench.org API
- SUPPORTED_REPOS
- VERSION
Public Class Methods
run(repo, script, opts = {})
click to toggle source
# File lib/rubybench_runner/base_runner.rb, line 4 def self.run(repo, script, opts = {}) SUPPORTED_REPOS.each do |name, klass| if repo == name.to_s klass.new(script, opts).run return end end raise "Unknown repo #{repo}" end