examples/exec_blank.rb in benchmark_driver-0.8.6 vs examples/exec_blank.rb in benchmark_driver-0.9.0
- old
+ new
@@ -1,7 +1,7 @@
-require 'benchmark/driver'
+require 'benchmark_driver'
-Benchmark.driver(runner: :exec) do |x|
+Benchmark.driver do |x|
x.prelude <<-EOS
class Array
alias_method :blank?, :empty?
end
array = []