summaryrefslogtreecommitdiff
path: root/benchmark/loop_times_megamorphic.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/loop_times_megamorphic.yml')
-rw-r--r--benchmark/loop_times_megamorphic.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark/loop_times_megamorphic.yml b/benchmark/loop_times_megamorphic.yml
new file mode 100644
index 0000000000..f9343ba897
--- /dev/null
+++ b/benchmark/loop_times_megamorphic.yml
@@ -0,0 +1,7 @@
+prelude: |
+ eval(<<~EOS)
+ def loop_times_megamorphic
+ #{"1.times {|i|};" * 1000}
+ end
+ EOS
+benchmark: loop_times_megamorphic