1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/benchmark/vm2_regexp.yml
Takashi Kokubun ff462bc6c3
Add a benchmark for opt_regexpmatch2
vm2_regexp was for opt_regexpmatch1.
2019-09-02 13:46:33 +09:00

8 lines
138 B
YAML

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