summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm_thread_pass_flood.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm_thread_pass_flood.rb')
-rw-r--r--benchmark/bm_vm_thread_pass_flood.rb10
1 files changed, 0 insertions, 10 deletions
diff --git a/benchmark/bm_vm_thread_pass_flood.rb b/benchmark/bm_vm_thread_pass_flood.rb
deleted file mode 100644
index a660aaf..0000000
--- a/benchmark/bm_vm_thread_pass_flood.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# n.b. this is a good test for GVL when pinned to a single CPU
-
-1000.times{
- Thread.new{loop{Thread.pass}}
-}
-
-i = 0
-while i<10000
- i += 1
-end