1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/bm_marshal_dump_flo.rb
normal 200b582f1e benchmark/bm_marshal_dump_flo.rb: new benchmark for [Bug #10761]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-23 08:13:59 +00:00

2 lines
79 B
Ruby

bug10761 = 10000.times.map { |x| x.to_f }
100.times { Marshal.dump(bug10761) }