Run details:
Mozilla/5.0 (Linux; Android 12; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.175 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
Array.some 60302.6 Ops/sec
Array.filter 22974.9 Ops/sec
Array.indexOf 82232.0 Ops/sec
Array.includes 813677.6 Ops/sec
Array.find 56584.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find