Tests:
-
Lo-Dash sortBy()
-
Vanilla sort()
-
Vanilla CUSTOM sort method
Rendered benchmark preparation results:
Latest run results:
Run details: (Test run date:
2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124 on Windows
View result in a separate tab
Vanilla CUSTOM sort method
4.6M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Vanilla CUSTOM sort method
|
4,580,862 Ops/sec |
|
Vanilla sort()
|
1,780,777 Ops/sec |
|
Lo-Dash sortBy()
|
529,300 Ops/sec |
Do you really want to delete benchmark?