Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/144.0.0.0 Safari/537.36
Chrome 144
Linux
Desktop
7 months ago
Benchmark.js
View exact numbers
| Test name |
Executions per second |
|
✓
array.filter
|
4,727,769 Ops/sec |
|
array.where
|
4,389,146 Ops/sec |
|
$.grep
|
3,953,564 Ops/sec |
|
grepAlone
|
2,789,346 Ops/sec |
|
angular.$filter
|
1,287,848 Ops/sec |
|
underscore.filter
|
820,523 Ops/sec |
|
array.find
|
725,484 Ops/sec |
|
lodash.filter
|
526,165 Ops/sec |
Tests:
-
$.grep
-
array.find
-
array.where
-
angular.$filter
-
array.filter
-
lodash.filter
-
underscore.filter
-
grepAlone