lib/benchmark_driver/metric.rb in benchmark_driver-0.12.0 vs lib/benchmark_driver/metric.rb in benchmark_driver-0.13.0

- old
+ new

@@ -22,10 +22,10 @@ Context = ::BenchmarkDriver::Struct.new( :name, # @param [String] - Name of the context :executable, # @param [BenchmarkDriver::Config::Executable] - Measured Ruby executable :gems, # @param [Hash{ String => String,nil }] - Gem -> version pairs used for the benchmark :prelude, # @param [String,nil] - Context specific setup script (optional) - defaults: { gems: {} }, + defaults: { prelude: '', gems: {} }, ) # Everything that can be known after running benchmark Result = ::BenchmarkDriver::Struct.new( :values, # @param [Hash{ BenchmarkDriver::Metric => Float }] - Main benchmark results