lib/benchmark_driver/runner/time.rb in benchmark_driver-0.10.13 vs lib/benchmark_driver/runner/time.rb in benchmark_driver-0.10.14
- old
+ new
@@ -4,10 +4,10 @@
# JobParser returns this, `BenchmarkDriver::Runner.runner_for` searches "*::Job"
Job = Class.new(BenchmarkDriver::DefaultJob)
# Dynamically fetched and used by `BenchmarkDriver::JobParser.parse`
JobParser = BenchmarkDriver::DefaultJobParser.for(Job)
- METRICS_TYPE = BenchmarkDriver::Metrics::Type.new(unit: 's')
+ METRICS_TYPE = BenchmarkDriver::Metrics::Type.new(unit: 's', larger_better: false)
# Overriding BenchmarkDriver::Runner::Ips#set_metrics_type
def set_metrics_type
@output.metrics_type = METRICS_TYPE
end