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