Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36
Chrome 122
Windows
Desktop
2 years ago
Benchmark.js
Vanilla CUSTOM sort method
8.7M/s
Vanilla sort()
3.3M/s
Lo-Dash sortBy()
952K/s
View exact numbers
Test name Executions per second
Vanilla CUSTOM sort method 8,730,014 Ops/sec
Vanilla sort() 3,336,571 Ops/sec
Lo-Dash sortBy() 951,597 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: