ruby/benchmark/vm_mutex.yml

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

9 строки
120 B
YAML
Исходник Обычный вид История

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