Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:65.0) Gecko/20100101 Firefox/65.0
Firefox 65
Mac OS X 10.14
Desktop
5 years ago
Test name Executions per second
search 21929812.0 Ops/sec
indexOf 28451486.0 Ops/sec
includes 29106916.0 Ops/sec
test 35290608.0 Ops/sec
match 29352992.0 Ops/sec
boyerMooreHorspool 56786792.0 Ops/sec
Script Preparation code:
Tests:
  • search

  • indexOf

  • includes

  • test

  • match

  • boyerMooreHorspool


;