summaryrefslogtreecommitdiff
path: root/benchmark/vm2_dstr.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm2_dstr.yml')
-rw-r--r--benchmark/vm2_dstr.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/benchmark/vm2_dstr.yml b/benchmark/vm2_dstr.yml
new file mode 100644
index 0000000..b1f5381
--- /dev/null
+++ b/benchmark/vm2_dstr.yml
@@ -0,0 +1,9 @@
+benchmark:
+ vm2_dstr: |
+ i = 0
+ x = y = 'z'
+ while i<6_000_000 # benchmark loop 2
+ i += 1
+ str = "foo#{x}bar#{y}baz"
+ end
+loop_count: 1