ruby/benchmark/vm2_regexp.yml

7 строки
97 B
YAML

prelude: |
str = 'xxxhogexxx'
benchmark:
vm2_regexp: |
/hoge/ =~ str
loop_count: 6000000