HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 10 community runs

Desktop Results:
Chrome 5 runs
Vanilla CUSTOM sort method
8.7M/s
Vanilla sort()
3.3M/s
Lo-Dash sortBy()
952K/s

Fastest: Vanilla CUSTOM sort method (9.2x faster)

View exact numbers
  • Vanilla CUSTOM sort method: 8,730,014 ops/sec
  • Vanilla sort(): 3,336,571 ops/sec
  • Lo-Dash sortBy(): 951,597 ops/sec
Firefox 5 runs
Vanilla CUSTOM sort method
9.3M/s
Vanilla sort()
6.8M/s
Lo-Dash sortBy()
954K/s

Fastest: Vanilla CUSTOM sort method (9.8x faster)

View exact numbers
  • Vanilla CUSTOM sort method: 9,303,921 ops/sec
  • Vanilla sort(): 6,792,408 ops/sec
  • Lo-Dash sortBy(): 953,612 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
    Lo-Dash sortBy()
    Vanilla sort()
    Vanilla CUSTOM sort method

    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/141.0.0.0 Safari/537.36
Chrome 141 on Mac OS X 10.15.7
View result in a separate tab
Vanilla CUSTOM sort method
58.4M/s
Vanilla sort()
8.5M/s
Lo-Dash sortBy()
2.6M/s
View exact numbers
Test name Executions per second
Vanilla CUSTOM sort method 58,387,976 Ops/sec
Vanilla sort() 8,529,060 Ops/sec
Lo-Dash sortBy() 2,611,395 Ops/sec