HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 7 community runs

Desktop Results:
Chrome 7 runs
array.prototype.sort
566/s
Stable Sort
159/s
_.sortBy
26/s
other
7/s

Fastest: array.prototype.sort (78.4x faster)

View exact numbers
  • array.prototype.sort: 566 ops/sec
  • Stable Sort: 159 ops/sec
  • _.sortBy: 26 ops/sec
  • other: 7 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    _.sortBy
    array.prototype.sort
    other
    Stable Sort

    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/133.0.0.0 Safari/537.36
Chrome 133 on Mac OS X 10.15.7
View result in a separate tab
array.prototype.sort
1K/s
Stable Sort
439/s
_.sortBy
48/s
other
11/s
View exact numbers
Test name Executions per second
array.prototype.sort 1,236 Ops/sec
Stable Sort 439 Ops/sec
_.sortBy 48 Ops/sec
other 11 Ops/sec