require 'benchmark' count = 1_000_000 Benchmark.benchmark do |bm| bm.report("concat") { count.times { 11.to_s + '/' + 12.to_s } } bm.report("interp") { count.times { "#{11}/#{12}" } } end