Run details:
Mozilla/5.0 (Linux; Android 12; 21091116I) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Mobile Safari/537.36
Chrome Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
Array.some 34044.8 Ops/sec
Array.filter 6199.7 Ops/sec
Array.indexOf 156797.0 Ops/sec
Array.includes 624243.7 Ops/sec
Array.find 47337.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find