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 555861.8 Ops/sec
sort array JS n = 1000 65155.7 Ops/sec
sort array JS n = 10000 6625.2 Ops/sec
sort array JS n = 50000 1190.5 Ops/sec
sort array lodash n = 100 222357.1 Ops/sec
sort array lodash n = 1000 25275.0 Ops/sec
sort array lodash n = 10000 2024.4 Ops/sec
sort array lodash n = 50000 286.1 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


;