summaryrefslogtreecommitdiff
path: root/benchmark/vm2_module_ann_const_set.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm2_module_ann_const_set.yml')
-rw-r--r--benchmark/vm2_module_ann_const_set.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/benchmark/vm2_module_ann_const_set.yml b/benchmark/vm2_module_ann_const_set.yml
new file mode 100644
index 0000000..15dd2ad
--- /dev/null
+++ b/benchmark/vm2_module_ann_const_set.yml
@@ -0,0 +1,8 @@
+benchmark:
+ vm2_module_ann_const_set: |
+ i = 0
+ while i<6_000_000 # benchmark loop 2
+ i += 1
+ Module.new.const_set(:X, Module.new)
+ end
+loop_count: 1