summaryrefslogtreecommitdiff
path: root/benchmark/kernel_tap.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/kernel_tap.yml')
-rw-r--r--benchmark/kernel_tap.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/benchmark/kernel_tap.yml b/benchmark/kernel_tap.yml
new file mode 100644
index 0000000000..4dcbb31b4d
--- /dev/null
+++ b/benchmark/kernel_tap.yml
@@ -0,0 +1,6 @@
+prelude: |
+ obj = Object.new
+ x = nil
+benchmark:
+ kernel_tap: obj.tap { |o| x = o }
+loop_count: 20000000