Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/130.0.6723.37 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 130
iOS 17.4
Mobile
2 months ago
Test name Executions per second
Array.some 98463.1 Ops/sec
Array.filter 59156.7 Ops/sec
Array.indexOf 3659473.2 Ops/sec
Array.includes 60292.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes