Script Preparation code:
Tests:
  • localeCompare()

  • Intl.Collator.compare()

  • toLowerCase()

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    localeCompare()
    Intl.Collator.compare()
    toLowerCase()

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Android 9; Mobile; rv:109.0) Gecko/119.0 Firefox/119.0
Firefox Mobile 119 on Android
View result in a separate tab
Test name Executions per second
localeCompare() 20961.4 Ops/sec
Intl.Collator.compare() 747256.6 Ops/sec
toLowerCase() 144806912.0 Ops/sec