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

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