1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm_mutex.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
120 B
YAML
Raw Normal View History

prelude: |
require 'thread'
m = Thread::Mutex.new
benchmark:
vm_mutex: |
m.synchronize{}
loop_count: 6000000