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: 4 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0
Chrome 143 on Windows
View result in a separate tab
Test name Executions per second
localeCompare base 3708.9 Ops/sec
localeCompare sensitive 10.1 Ops/sec
Intl.Collator base 1464.7 Ops/sec
Intl.Collator sensitive 1373.4 Ops/sec
sort comparator with casing 253.6 Ops/sec
sort comparator with custom heuristic 3356.7 Ops/sec
sort comparator 5145.6 Ops/sec