Run details:
Mozilla/5.0 (Linux; Android 13; RMX3312) 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.exec 2459897.8 Ops/sec
string.match 2332829.5 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match