summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_fiber_switch.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm2_fiber_switch.rb')
-rw-r--r--benchmark/bm_vm2_fiber_switch.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/benchmark/bm_vm2_fiber_switch.rb b/benchmark/bm_vm2_fiber_switch.rb
deleted file mode 100644
index c6f615d..0000000
--- a/benchmark/bm_vm2_fiber_switch.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-# based on benchmark for [ruby-core:65518] [Feature #10341] by Knut Franke
-fib = Fiber.new do
- loop { Fiber.yield }
-end
-i = 0
-while i< 6_000_000 # benchmark loop 2
- i += 1
- fib.resume
-end