summaryrefslogtreecommitdiff
path: root/benchmark/vm2_mutex.yml
blob: c40a90444a3ca61eb1d2db01e5547633e9be8e5f (plain)
1
2
3
4
5
6
7
8
prelude: |
  require 'thread'

  m = Thread::Mutex.new
benchmark:
  vm2_mutex: |
    m.synchronize{}
loop_count: 6000000