Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0
Firefox 133
Mac OS X 10.15
Desktop
2 months ago
Test name Executions per second
regex.exec 41042312.0 Ops/sec
string.match 31339028.0 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match