summaryrefslogtreecommitdiff
path: root/benchmark/vm_thread_queue.yml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/vm_thread_queue.yml')
-rw-r--r--benchmark/vm_thread_queue.yml21
1 files changed, 0 insertions, 21 deletions
diff --git a/benchmark/vm_thread_queue.yml b/benchmark/vm_thread_queue.yml
deleted file mode 100644
index 1294ad3a13..0000000000
--- a/benchmark/vm_thread_queue.yml
+++ /dev/null
@@ -1,21 +0,0 @@
-benchmark:
- vm_thread_queue: |
- require 'thread'
-
- n = 1_000_000
- q = Thread::Queue.new
- consumer = Thread.new{
- while q.pop
- # consuming
- end
- }
-
- producer = Thread.new{
- n.times{
- q.push true
- }
- q.push nil
- }
-
- consumer.join
-loop_count: 1