Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/117.0.5938.108 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 117
iOS 17.0
Mobile
one year ago
Test name Executions per second
Array.some 163281.5 Ops/sec
Array.filter 75851.8 Ops/sec
Array.indexOf 2149883.5 Ops/sec
Array.includes 143624.7 Ops/sec
Array.find 180817.2 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;