Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Mac OS X 10.15
Desktop
7 months ago
Test name Executions per second
regex.exec 36055164.0 Ops/sec
string.match 27645806.0 Ops/sec
Script Preparation code:
Tests:
  • regex.exec

  • string.match