Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/124.0.6367.71 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 124
iOS 17.5
Mobile
8 months ago
Test name Executions per second
regex.exec 7026697.5 Ops/sec
string.match 6934379.0 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match