Run details:
Mozilla/5.0 (Windows NT 5.1; rv:50.0) Gecko/20100101 Firefox/50.0
Firefox 50
Windows XP
Other
8 years ago
Test name Executions per second
RegExp#test 721188.3 Ops/sec
String#indexOf 5614782.5 Ops/sec
String#match 524104.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match