summaryrefslogtreecommitdiff
path: root/benchmark/vm_dstr_obj.rb
blob: fb78637ead6b36fb1e01c4dbd72cab2796178e1b (plain)
1
2
3
4
5
6
i = 0
x = y = Object.new
while i<6_000_000 # benchmark loop 2
  i += 1
  str = "foo#{x}bar#{y}baz"
end