diff options
Diffstat (limited to 'benchmark/nilclass.yml')
| -rw-r--r-- | benchmark/nilclass.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/benchmark/nilclass.yml b/benchmark/nilclass.yml index fba67a5f6a..66234c4cdf 100644 --- a/benchmark/nilclass.yml +++ b/benchmark/nilclass.yml @@ -1,6 +1,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 |
