Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36
Chrome 126
Linux
Desktop
2 years ago
Benchmark.js
View exact numbers
| Test name |
Executions per second |
|
✓
array.where
|
4,157,628 Ops/sec |
|
grepAlone
|
3,050,203 Ops/sec |
|
$.grep
|
2,870,437 Ops/sec |
|
angular.$filter
|
2,277,468 Ops/sec |
|
underscore.filter
|
1,238,482 Ops/sec |
|
array.filter
|
1,198,500 Ops/sec |
|
array.find
|
1,029,390 Ops/sec |
|
lodash.filter
|
927,872 Ops/sec |
Tests:
-
$.grep
-
array.find
-
array.where
-
angular.$filter
-
array.filter
-
lodash.filter
-
underscore.filter
-
grepAlone