Run details:
Mozilla/5.0 (Linux; Android 5.1.1; SAMSUNG-SM-N910A Build/LMY47X; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/52.0.2743.98 Mobile Safari/537.36
Chrome Mobile 52
Android 5.1.1
Samsung SM-N910A
8 years ago
Test name Executions per second
RegExp#test 1004154.7 Ops/sec
String#indexOf 3401628.8 Ops/sec
String#match 916722.6 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • RegExp#test

  • String#indexOf

  • String#match