summaryrefslogtreecommitdiff
path: root/benchmark/vm_struct_big_href_lo.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm_struct_big_href_lo.yml')
-rw-r--r--benchmark/vm_struct_big_href_lo.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark/vm_struct_big_href_lo.yml b/benchmark/vm_struct_big_href_lo.yml
new file mode 100644
index 0000000000..d2f00b220f
--- /dev/null
+++ b/benchmark/vm_struct_big_href_lo.yml
@@ -0,0 +1,7 @@
+prelude: |
+ s = Struct.new(*('a'..'z').map { |x| x.to_sym })
+ x = s.new
+benchmark:
+ vm_struct_big_href_lo: |
+ x[:k]
+loop_count: 6000000