Script Preparation code:
Tests:
  • lowercasing the string

  • RegExp + i

  • Already lowercased

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    lowercasing the string
    RegExp + i
    Already lowercased

    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: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15
Safari 16 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
lowercasing the string 10122320.0 Ops/sec
RegExp + i 14076300.0 Ops/sec
Already lowercased 12466600.0 Ops/sec