summaryrefslogtreecommitdiff
path: root/benchmark/vm_struct_small_aref.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm_struct_small_aref.yml')
-rw-r--r--benchmark/vm_struct_small_aref.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/benchmark/vm_struct_small_aref.yml b/benchmark/vm_struct_small_aref.yml
new file mode 100644
index 0000000000..5a83251d1e
--- /dev/null
+++ b/benchmark/vm_struct_small_aref.yml
@@ -0,0 +1,7 @@
+prelude: |
+ s = Struct.new(:a, :b, :c)
+ x = s.new
+benchmark:
+ vm_struct_small_aref: |
+ x.a
+loop_count: 6000000