Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.93 Safari/537.36
Chrome 90
Windows
Desktop
3 years ago
Test name Executions per second
sort array JS n = 100 467339.4 Ops/sec
sort array JS n = 1000 55412.6 Ops/sec
sort array JS n = 10000 5954.2 Ops/sec
sort array JS n = 50000 1125.6 Ops/sec
sort array lodash n = 100 160845.9 Ops/sec
sort array lodash n = 1000 19007.2 Ops/sec
sort array lodash n = 10000 1869.5 Ops/sec
sort array lodash n = 50000 319.6 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


;