Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Mobile Safari/537.36
Chrome Mobile 119
Android
Mobile
2 years ago
Benchmark.js
View exact numbers
| Test name |
Executions per second |
|
✓
array.where
|
315,528 Ops/sec |
|
grepAlone
|
230,448 Ops/sec |
|
$.grep
|
218,817 Ops/sec |
|
angular.$filter
|
171,148 Ops/sec |
|
underscore.filter
|
103,356 Ops/sec |
|
array.filter
|
87,809 Ops/sec |
|
lodash.filter
|
74,094 Ops/sec |
|
array.find
|
71,575 Ops/sec |
Tests:
-
$.grep
-
array.find
-
array.where
-
angular.$filter
-
array.filter
-
lodash.filter
-
underscore.filter
-
grepAlone