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

  • String#indexOf

  • String#match