1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm2_mutex.yml
k0kubun 12068aa4e9 benchmark/vm2_*.yml: abstract away the while loop
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-07-08 17:03:23 +00:00

9 lines
119 B
YAML

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