HTML Preparation code:
Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    localeCompare base
    localeCompare sensitive
    Intl.Collator base
    Intl.Collator sensitive
    sort comparator with casing
    sort comparator with custom heuristic
    sort comparator

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/137.0.0.0 Safari/537.36
Chrome 137 on Mac OS X 10.15.7
View result in a separate tab
sort comparator
7K/s
localeCompare base
5K/s
sort comparator with custom heuristic
5K/s
sort comparator with casing
2K/s
Intl.Collator base
2K/s
Intl.Collator sensitive
2K/s
localeCompare sensitive
18/s
View exact numbers
Test name Executions per second
sort comparator 6,930 Ops/sec
localeCompare base 5,121 Ops/sec
sort comparator with custom heuristic 4,875 Ops/sec
sort comparator with casing 2,453 Ops/sec
Intl.Collator base 1,921 Ops/sec
Intl.Collator sensitive 1,911 Ops/sec
localeCompare sensitive 18 Ops/sec