aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/kernel_then.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/kernel_then.yml')
-rw-r--r--benchmark/kernel_then.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmark/kernel_then.yml b/benchmark/kernel_then.yml
new file mode 100644
index 0000000000..85f7341e33
--- /dev/null
+++ b/benchmark/kernel_then.yml
@@ -0,0 +1,6 @@
+benchmark:
+ kernel_then: 1.then { |i| i + 1 }
+ kernel_then_enum: 1.then
+ kernel_yield_self: 1.yield_self { |i| i + 1 }
+ kernel_yield_self_enum: 1.yield_self
+loop_count: 20000000