HTML Preparation code:
Script Preparation code:
Tests:
  • localeCompare base

  • localeCompare sensitive

  • Intl.Collator base

  • Intl.Collator sensitive

  • sort comparator with casing

  • sort comparator with custom heuristic

  • sort comparator

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: 11 months 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
Test name Executions per second
localeCompare base 4597.6 Ops/sec
localeCompare sensitive 16.9 Ops/sec
Intl.Collator base 1722.0 Ops/sec
Intl.Collator sensitive 1735.9 Ops/sec
sort comparator with casing 1858.8 Ops/sec
sort comparator with custom heuristic 4365.9 Ops/sec
sort comparator 6246.4 Ops/sec