Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
Chrome 65
Windows 8.1
Other
2024 years ago
Test name Executions per second
RegExp#test 18914410.0 Ops/sec
String#indexOf 568395600.0 Ops/sec
String#match 12691700.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match