Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36
Chrome 115
Windows
Desktop
one year ago
Test name Executions per second
Native JS sort 37665.0 Ops/sec
lodash sortby 11455.8 Ops/sec
lodash orderBy 9610.3 Ops/sec
lodash orderby 2 properties 1385.3 Ops/sec
lodash orderby 3 properties 938.5 Ops/sec
lodash oderby 4 properties 1279.7 Ops/sec
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


;