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
8 years ago
Test name Executions per second
RegExp#test 11910599.0 Ops/sec
String#indexOf 19138520.0 Ops/sec
String#match 10951476.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match