Sha256: c59bd46d0b9b4663cd1dfe35eb300230701c2c0c3876445c5cf7c91b45ded3cb
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
require 'benchmark_driver/struct' module BenchmarkDriver # All CLI options Config = ::BenchmarkDriver::Struct.new( :runner_type, # @param [String] :output_type, # @param [String] :paths, # @param [Array<String>] :executables, # @param [Array<BenchmarkDriver::Config::Executable>] :filters, # @param [Array<Regexp>] :repeat_count, # @param [Integer] :run_duration, # @param [Integer] defaults: { runner_type: 'ips', output_type: 'compare', filters: [], repeat_count: 1, run_duration: 3, }, ) # Subset of FullConfig passed to JobRunner Config::RunnerConfig = ::BenchmarkDriver::Struct.new( :executables, # @param [Array<BenchmarkDriver::Config::Executable>] :repeat_count, # @param [Integer] :run_duration, # @param [Integer] ) Config::Executable = ::BenchmarkDriver::Struct.new( :name, # @param [String] :command, # @param [Array<String>] ) Config.defaults[:executables] = [ BenchmarkDriver::Config::Executable.new(name: RUBY_VERSION, command: [RbConfig.ruby]), ] end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
benchmark_driver-0.9.1 | lib/benchmark_driver/config.rb |
benchmark_driver-0.9.0 | lib/benchmark_driver/config.rb |