Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SAMSUNG SM-A530F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android 8.0.0
Mobile
3 years ago
Test name Executions per second
regex.exec 1249407.4 Ops/sec
string.match 1262466.5 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match