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