Script Preparation code:
Tests:
  • localeCompare

  • Intl.Collator().compare

  • collator.compare

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
localeCompare 418256.8 Ops/sec
Intl.Collator().compare 404813.4 Ops/sec
collator.compare 10023262.0 Ops/sec


;