Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SAMSUNG SM-J701M) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android 8.1.0
Mobile
2 years ago
Test name Executions per second
Array.some 4773.8 Ops/sec
Array.filter 819.9 Ops/sec
Array.indexOf 14854.5 Ops/sec
Array.includes 30698.5 Ops/sec
Array.find 1420.2 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find