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_length.yml

9 lines
112 B
YAML
Raw Normal View History

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