Run details:
Mozilla/5.0 (Linux; Android 10; Mi A2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
Array.some 19584.1 Ops/sec
Array.filter 5411.2 Ops/sec
Array.indexOf 45953.9 Ops/sec
Array.includes 240643.8 Ops/sec
Array.find 28284.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find