Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
Chrome 120
Linux
Desktop
2 years ago
Benchmark.js
Vanilla CUSTOM sort method
6.1M/s
Vanilla sort()
2.2M/s
Lo-Dash sortBy()
650K/s
View exact numbers
Test name Executions per second
Vanilla CUSTOM sort method 6,098,896 Ops/sec
Vanilla sort() 2,228,347 Ops/sec
Lo-Dash sortBy() 650,473 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: