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
8 months ago
Benchmark.js
View exact numbers
| Test name |
Executions per second |
|
✓
array.filter
|
5,133,634 Ops/sec |
|
array.where
|
4,620,551 Ops/sec |
|
grepAlone
|
4,308,300 Ops/sec |
|
$.grep
|
4,229,850 Ops/sec |
|
angular.$filter
|
1,432,838 Ops/sec |
|
underscore.filter
|
926,251 Ops/sec |
|
array.find
|
816,710 Ops/sec |
|
lodash.filter
|
581,897 Ops/sec |
Tests:
-
$.grep
-
array.find
-
array.where
-
angular.$filter
-
array.filter
-
lodash.filter
-
underscore.filter
-
grepAlone