Test case name | Result |
---|---|
$.grep | |
array.where | |
angular.$filter | |
array.filter | |
lodash.filter | |
underscore.filter | |
grepAlone | |
fasterFilter |
Test name | Executions per second |
---|---|
$.grep | 238518.6 Ops/sec |
array.where | 260009.8 Ops/sec |
angular.$filter | 160212.9 Ops/sec |
array.filter | 68567.7 Ops/sec |
lodash.filter | 51126.2 Ops/sec |
underscore.filter | 100501.9 Ops/sec |
grepAlone | 239617.2 Ops/sec |
fasterFilter | 318852.6 Ops/sec |