Run details:
Mozilla/5.0 (Linux; Android 10; vivo 1935) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Mobile Safari/537.36
Chrome Mobile 84
Android
Mobile
3 years ago
Test name Executions per second
regex.exec 1177248.6 Ops/sec
string.match 1098221.2 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match


;