Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.134 Mobile Safari/537.36 OPR/70.3.3653.66287
Opera Mobile 70
Android
Mobile
2 years ago
Test name Executions per second
Array.some 53537.9 Ops/sec
Array.filter 13858.8 Ops/sec
Array.indexOf 77563.4 Ops/sec
Array.includes 601133.0 Ops/sec
Array.find 54174.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find