Test case name | Result |
---|---|
Array.some | |
Array.filter | |
Array.indexOf | |
Array.includes | |
Array.find | |
Array.findIndex |
Test name | Executions per second |
---|---|
Array.some | 9856679.0 Ops/sec |
Array.filter | 4570564.5 Ops/sec |
Array.indexOf | 11461116.0 Ops/sec |
Array.includes | 11271852.0 Ops/sec |
Array.find | 10156145.0 Ops/sec |
Array.findIndex | 10306346.0 Ops/sec |