summaryrefslogtreecommitdiff
path: root/benchmark/bm_vm2_mutex.rb
diff options
context:
space:
mode:
Diffstat (limited to 'benchmark/bm_vm2_mutex.rb')
-rw-r--r--benchmark/bm_vm2_mutex.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/benchmark/bm_vm2_mutex.rb b/benchmark/bm_vm2_mutex.rb
deleted file mode 100644
index 5d16480..0000000
--- a/benchmark/bm_vm2_mutex.rb
+++ /dev/null
@@ -1,9 +0,0 @@
-require 'thread'
-
-m = Thread::Mutex.new
-
-i = 0
-while i<6_000_000 # benchmark loop 2
- i += 1
- m.synchronize{}
-end