Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/120.0.6099.119 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 120
iOS 16.1
Mobile
10 months ago
Test name Executions per second
Array.some 105616.0 Ops/sec
Array.filter 16931.0 Ops/sec
Array.indexOf 46850.3 Ops/sec
Array.includes 85606.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes