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 5121.2 Ops/sec
localeCompare sensitive 17.6 Ops/sec
Intl.Collator base 1920.9 Ops/sec
Intl.Collator sensitive 1911.0 Ops/sec
sort comparator with casing 2453.1 Ops/sec
sort comparator with custom heuristic 4875.0 Ops/sec
sort comparator 6930.2 Ops/sec