Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.19 Safari/537.36 OPR/42.0.2392.0 (Edition developer)
Opera 42
Windows
Other
7 years ago
Test name Executions per second
RegExp#test 11628950.0 Ops/sec
String#indexOf 18790830.0 Ops/sec
String#match 10781250.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match