summaryrefslogtreecommitdiff
path: root/benchmark/nilclass.yml
blob: 66234c4cdfe05b9264ace482b3ab2f8817c7774d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
prelude: |
  def a = nil
benchmark:
  rationalize:
    nil.rationalize
  to_c: |
    nil.to_c
  to_i: |
    nil.to_i
  to_f: |
    nil.to_f
  to_r: |
    nil.to_r
  splat: |
    a(*nil)
loop_count: 100000