Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36
Chrome 124
Windows
Desktop
2 years ago
Benchmark.js
View exact numbers
| Test name |
Executions per second |
|
✓
array.where
|
3,728,788 Ops/sec |
|
grepAlone
|
2,741,642 Ops/sec |
|
$.grep
|
2,620,874 Ops/sec |
|
angular.$filter
|
2,127,692 Ops/sec |
|
underscore.filter
|
1,208,774 Ops/sec |
|
array.filter
|
1,137,817 Ops/sec |
|
lodash.filter
|
865,237 Ops/sec |
|
array.find
|
801,677 Ops/sec |
Tests:
-
$.grep
-
array.find
-
array.where
-
angular.$filter
-
array.filter
-
lodash.filter
-
underscore.filter
-
grepAlone