Test case name | Result |
---|---|
_.orderBy asc | |
array.prototype.sort asc | |
_.orderBy desc | |
array.prototype.sort desc |
Test name | Executions per second |
---|---|
_.orderBy asc | 6.7 Ops/sec |
array.prototype.sort asc | 57.3 Ops/sec |
_.orderBy desc | 12.8 Ops/sec |
array.prototype.sort desc | 82.5 Ops/sec |