Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/133.0.0.0 Mobile Safari/537.36
Chrome Mobile 133
Android
Mobile
one year ago
Benchmark.js
array.where
1.7M/s
array.filter
1.6M/s
grepAlone
1.4M/s
$.grep
1.3M/s
angular.$filter
662K/s
underscore.filter
305K/s
array.find
291K/s
lodash.filter
235K/s
View exact numbers
Test name Executions per second
array.where 1,689,607 Ops/sec
array.filter 1,551,462 Ops/sec
grepAlone 1,417,224 Ops/sec
$.grep 1,326,201 Ops/sec
angular.$filter 661,959 Ops/sec
underscore.filter 305,018 Ops/sec
array.find 290,611 Ops/sec
lodash.filter 235,479 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests: