summaryrefslogtreecommitdiff
path: root/benchmark/float_to_s.yml
blob: 0abae5cdb8132f395ddd338a377f26bf7d09e298 (plain)
1
2
3
4
5
6
7
prelude: |
  floats = [*0.0.step(1.0, 0.0001)]

benchmark:
  to_s: floats.each {|f| f.to_s}

loop_count: 1000