Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android
Mobile
2 years ago
Test name Executions per second
Array.some 222098.8 Ops/sec
Array.filter 68401.0 Ops/sec
Array.indexOf 599910.3 Ops/sec
Array.includes 871852.2 Ops/sec
Array.find 161721.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find