Run details:
Mozilla/5.0 (Linux; Android 6.0.1; Nexus 7 Build/MOB30X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/52.0.2743.98 Safari/537.36
Chrome 52
Android 6.0.1
Nexus 7
7 years ago
Test name Executions per second
RegExp#test 695850.7 Ops/sec
String#indexOf 2048316.0 Ops/sec
String#match 580276.1 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match