summaryrefslogtreecommitdiff
path: root/benchmark/vm2_regexp.yml
blob: e53341f43bb11ed366db86eecb9e0be24416631b (plain)
1
2
3
4
5
6
7
8
prelude: |
  str = 'xxxhogexxx'
benchmark:
  vm2_regexp: |
    /hoge/ =~ str
  vm2_regexp_invert: |
    str =~ /hoge/
loop_count: 6000000