Test case name | Result |
---|---|
Array.some | |
Array.filter | |
Array.indexOf | |
Array.includes | |
Array.find | |
Array.findIndex |
Test name | Executions per second |
---|---|
Array.some | 69193.7 Ops/sec |
Array.filter | 25953.2 Ops/sec |
Array.indexOf | 756328.1 Ops/sec |
Array.includes | 391370.0 Ops/sec |
Array.find | 68671.7 Ops/sec |
Array.findIndex | 91202.9 Ops/sec |