Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36 Edg/136.0.0.0
Chrome 136
Windows
Desktop
one year ago
Benchmark.js
Vanilla CUSTOM sort method
4.5M/s
Vanilla sort()
1.8M/s
Lo-Dash sortBy()
116K/s
View exact numbers
Test name Executions per second
Vanilla CUSTOM sort method 4,506,716 Ops/sec
Vanilla sort() 1,754,779 Ops/sec
Lo-Dash sortBy() 115,537 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: