Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/126.0.6478.108 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 126
iOS 17.5
Mobile
6 months ago
Test name Executions per second
Array.some 58273.1 Ops/sec
Array.filter 24604.1 Ops/sec
Array.indexOf 495501.2 Ops/sec
Array.includes 68407.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes