Run details:
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows XP
Desktop
4 months ago
Test name Executions per second
RegExp#test 2781771.2 Ops/sec
String#indexOf 19158096.0 Ops/sec
String#match 2107536.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match