lib/benchmark/runner/exec.rb in benchmark_driver-0.4.0 vs lib/benchmark/runner/exec.rb in benchmark_driver-0.4.1
- old
+ new
@@ -159,10 +159,10 @@
after.to_f - before.to_f
end
end
class BenchmarkScript < Struct.new(:prelude, :script)
- BATCH_SIZE = 50
+ BATCH_SIZE = 1000
def overhead_script(times)
raise ArgumentError.new("Negative times: #{times}") if times < 0
<<-RUBY
#{prelude}