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

9 lines
136 B
YAML
Raw Normal View History

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