Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Regex.test()
    toLowerCase()
    localeCompare()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36 Edg/147.0.0.0
Chrome 147 on Windows
View result in a separate tab
Regex.test()
54.7M/s
toLowerCase()
52.7M/s
localeCompare()
182K/s
View exact numbers
Test name Executions per second
Regex.test() 54,720,900 Ops/sec
toLowerCase() 52,729,076 Ops/sec
localeCompare() 181,542 Ops/sec