Script Preparation code:
Tests:
  • regex.exec

  • string.match

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    regex.exec
    string.match

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: 11 hours ago)
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 on iOS 17.5
View result in a separate tab
Test name Executions per second
regex.exec 7026698.0 Ops/sec
string.match 6934379.0 Ops/sec