Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Firefox 47
Windows
Other
8 years ago
Test name Executions per second
RegExp#test 3798382.2 Ops/sec
String#indexOf 32011358.0 Ops/sec
String#match 2043692.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match