Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.119 Safari/537.36 OPR/51.0.2830.26
Opera 51
Windows
Other
2025 years ago
Test name Executions per second
RegExp#test 43716040.0 Ops/sec
String#indexOf 1030174912.0 Ops/sec
String#match 30401406.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match