aboutsummaryrefslogtreecommitdiffstats
path: root/benchmark/vm_thread_pipe.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm_thread_pipe.yml')
-rw-r--r--benchmark/vm_thread_pipe.yml20
1 files changed, 0 insertions, 20 deletions
diff --git a/benchmark/vm_thread_pipe.yml b/benchmark/vm_thread_pipe.yml
deleted file mode 100644
index fe4f3b8166..0000000000
--- a/benchmark/vm_thread_pipe.yml
+++ /dev/null
@@ -1,20 +0,0 @@
-prelude: |
- # Measure small and plenty pipe read/write.
- # A performance may depend on GVL implementation.
-benchmark:
- vm_thread_pipe: |
-
- lmax = 100_000
- r, w = IO.pipe
- [Thread.new{
- lmax.times{
- w.write('a')
- }
- p "w:exit"
- }, Thread.new{
- lmax.times{
- r.read(1)
- }
- p "r:exit"
- }].each{|t| t.join}
-loop_count: 1