Run details:
Mozilla/5.0 (Linux; Android 6.0; BTV-DL09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.0.0 Safari/537.36
Chrome 104
Android 6.0
Desktop
2 years ago
Test name Executions per second
regex.exec 1192641.9 Ops/sec
string.match 1214541.1 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match