summaryrefslogtreecommitdiff
path: root/benchmark/vm2_send.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm2_send.yml')
-rw-r--r--benchmark/vm2_send.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/benchmark/vm2_send.yml b/benchmark/vm2_send.yml
new file mode 100644
index 0000000..eaeb1a7
--- /dev/null
+++ b/benchmark/vm2_send.yml
@@ -0,0 +1,15 @@
+benchmark:
+ vm2_send: |
+ class C
+ def m
+ end
+ end
+
+ o = C.new
+
+ i = 0
+ while i<6_000_000 # benchmark loop 2
+ i += 1
+ o.__send__ :m
+ end
+loop_count: 1