Run details:
Mozilla/5.0 (Linux; Android 12; motorola edge 20) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Edge 0.0
Android
Mobile
2 years ago
Test name Executions per second
Array.some 159218.1 Ops/sec
Array.filter 49490.9 Ops/sec
Array.indexOf 515531.4 Ops/sec
Array.includes 788046.8 Ops/sec
Array.find 131174.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find