Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:129.0) Gecko/20100101 Firefox/129.0
Firefox 129
Mac OS X 10.15
Desktop
2 years ago
Benchmark.js
Vanilla CUSTOM sort method
9.3M/s
Vanilla sort()
6.9M/s
Lo-Dash sortBy()
962K/s
View exact numbers
Test name Executions per second
Vanilla CUSTOM sort method 9,303,921 Ops/sec
Vanilla sort() 6,869,849 Ops/sec
Lo-Dash sortBy() 961,588 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: