Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:131.0) Gecko/20100101 Firefox/131.0
Firefox 131
Mac OS X 10.15
Desktop
one year ago
Benchmark.js
Vanilla CUSTOM sort method
9.2M/s
View exact numbers
| Test name |
Executions per second |
|
✓
Vanilla CUSTOM sort method
|
9,213,156 Ops/sec |
|
Vanilla sort()
|
6,713,324 Ops/sec |
|
Lo-Dash sortBy()
|
993,926 Ops/sec |
Tests:
-
Lo-Dash sortBy()
-
Vanilla sort()
-
Vanilla CUSTOM sort method