Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91
Windows
Desktop
3 years ago
Test name Executions per second
sort array JS n = 100 600668.8 Ops/sec
sort array JS n = 1000 71545.8 Ops/sec
sort array JS n = 10000 7313.1 Ops/sec
sort array JS n = 50000 1343.8 Ops/sec
sort array lodash n = 100 215031.5 Ops/sec
sort array lodash n = 1000 25060.6 Ops/sec
sort array lodash n = 10000 2454.4 Ops/sec
sort array lodash n = 50000 368.7 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • sort array JS n = 100

  • sort array JS n = 1000

  • sort array JS n = 10000

  • sort array JS n = 50000

  • sort array lodash n = 100

  • sort array lodash n = 1000

  • sort array lodash n = 10000

  • sort array lodash n = 50000


;