summaryrefslogtreecommitdiff
path: root/benchmark/nilclass.yml
blob: da66e71068578fa8d9d25bdc61f6331e76ee2456 (plain)
1
2
3
4
5
6
7
8
9
10
prelude: |
  def a = nil
benchmark:
  to_i: |
    nil.to_i
  to_f: |
    nil.to_f
  splat: |
    a(*nil)
loop_count: 100000