Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.101 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 15.0
Mobile
2 years ago
Test name Executions per second
Array.some 272891.7 Ops/sec
Array.filter 45214.7 Ops/sec
Array.indexOf 186089.9 Ops/sec
Array.includes 221201.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes


;