ruby/benchmark/vm_length.yml

9 строки
112 B
YAML

prelude: |
a = 'abc'
b = [1, 2, 3]
benchmark:
vm_length: |
a.length
b.length
loop_count: 30000000