Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Firefox 49
Windows 7
Other
8 years ago
Test name Executions per second
RegExp#test 1693893.4 Ops/sec
String#indexOf 10819361.0 Ops/sec
String#match 1188056.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match