HTML Preparation code:
Script Preparation code:
Tests:
  • Native JS sort

  • lodash sortby

  • lodash orderBy

  • lodash orderby 2 properties

  • lodash orderby 3 properties

  • lodash oderby 4 properties

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Native JS sort
    lodash sortby
    lodash orderBy
    lodash orderby 2 properties
    lodash orderby 3 properties
    lodash oderby 4 properties

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122 on Windows
View result in a separate tab
Test name Executions per second
Native JS sort 46713.2 Ops/sec
lodash sortby 13764.3 Ops/sec
lodash orderBy 12109.6 Ops/sec
lodash orderby 2 properties 1923.1 Ops/sec
lodash orderby 3 properties 1657.4 Ops/sec
lodash oderby 4 properties 1495.7 Ops/sec