HTML Preparation code:
Script Preparation code:
Tests:

Historical Performance Data aggregated from 140 community runs

Desktop Results:
Chrome 122 runs
Native JS sort
16/s
lodash sortby
5/s
lodash orderBy
5/s

Fastest: Native JS sort (3.5x faster)

View exact numbers
  • Native JS sort: 16 ops/sec
  • lodash sortby: 5 ops/sec
  • lodash orderBy: 5 ops/sec
Firefox 13 runs
Native JS sort
13/s
lodash sortby
4/s
lodash orderBy
3/s

Fastest: Native JS sort (3.8x faster)

View exact numbers
  • Native JS sort: 13 ops/sec
  • lodash sortby: 4 ops/sec
  • lodash orderBy: 3 ops/sec
Safari 5 runs
Native JS sort
10/s
lodash orderBy
4/s
lodash sortby
4/s

Fastest: Native JS sort (2.7x faster)

View exact numbers
  • Native JS sort: 10 ops/sec
  • lodash orderBy: 4 ops/sec
  • lodash sortby: 4 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
    Native JS sort
    lodash sortby
    lodash orderBy

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/145.0.0.0 Safari/537.36
Chrome 145 on Windows
View result in a separate tab
Native JS sort
15/s
lodash sortby
7/s
lodash orderBy
5/s
View exact numbers
Test name Executions per second
Native JS sort 15 Ops/sec
lodash sortby 7 Ops/sec
lodash orderBy 5 Ops/sec