Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    string match REGEXP
    string match REGEXP CTOR
    regex exec REGEXP
    regex exec REGEXP CTOR

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Chrome 132 on Linux
View result in a separate tab
regex exec REGEXP
45.2M/s
regex exec REGEXP CTOR
45.2M/s
string match REGEXP CTOR
41.8M/s
string match REGEXP
41.6M/s
View exact numbers
Test name Executions per second
regex exec REGEXP 45,247,820 Ops/sec
regex exec REGEXP CTOR 45,163,756 Ops/sec
string match REGEXP CTOR 41,806,144 Ops/sec
string match REGEXP 41,562,552 Ops/sec