Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/94.0.4606.76 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 94
iOS 15.0
Mobile
3 years ago
Test name Executions per second
Array.some 244166.0 Ops/sec
Array.filter 51873.5 Ops/sec
Array.indexOf 459501.6 Ops/sec
Array.includes 318508.0 Ops/sec
Array.find 244984.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;