summaryrefslogtreecommitdiff
path: root/benchmark/nilclass.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/nilclass.yml')
-rw-r--r--benchmark/nilclass.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmark/nilclass.yml b/benchmark/nilclass.yml
new file mode 100644
index 0000000000..fba67a5f6a
--- /dev/null
+++ b/benchmark/nilclass.yml
@@ -0,0 +1,6 @@
+benchmark:
+ to_i: |
+ nil.to_i
+ to_f: |
+ nil.to_f
+loop_count: 100000