Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128
Windows
Desktop
2 years ago
Benchmark.js
View exact numbers
| Test name |
Executions per second |
|
✓
array.where
|
2,163,514 Ops/sec |
|
$.grep
|
1,717,624 Ops/sec |
|
grepAlone
|
1,638,829 Ops/sec |
|
array.filter
|
746,104 Ops/sec |
|
underscore.filter
|
717,320 Ops/sec |
|
angular.$filter
|
646,016 Ops/sec |
|
array.find
|
510,866 Ops/sec |
|
lodash.filter
|
489,682 Ops/sec |
Tests:
-
$.grep
-
array.find
-
array.where
-
angular.$filter
-
array.filter
-
lodash.filter
-
underscore.filter
-
grepAlone