Run details:
Mozilla/5.0 (Linux; Android 12; SM-G970F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
one year ago
Test name Executions per second
RegEx.test 2400866.0 Ops/sec
String.includes 5730196.0 Ops/sec
String.match 1205634.4 Ops/sec
string.indexOf 5573186.0 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match

  • string.indexOf


;