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
6K/s
localeCompare base
5K/s
sort comparator with custom heuristic
4K/s
sort comparator with casing
2K/s
Intl.Collator sensitive
2K/s
Intl.Collator base
2K/s
localeCompare sensitive
17/s
View exact numbers
Test name Executions per second
sort comparator 6,246 Ops/sec
localeCompare base 4,598 Ops/sec
sort comparator with custom heuristic 4,366 Ops/sec
sort comparator with casing 1,859 Ops/sec
Intl.Collator sensitive 1,736 Ops/sec
Intl.Collator base 1,722 Ops/sec
localeCompare sensitive 17 Ops/sec