Test case name | Result |
---|---|
_.orderBy asc | |
array.prototype.sort asc | |
_.orderBy desc | |
array.prototype.sort desc |
Test name | Executions per second |
---|---|
_.orderBy asc | 1.9 Ops/sec |
array.prototype.sort asc | 20.1 Ops/sec |
_.orderBy desc | 3.2 Ops/sec |
array.prototype.sort desc | 19.9 Ops/sec |