Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 16_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/109.0.5414.83 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 109
iOS 16.2
Mobile
one year ago
Test name Executions per second
Array.some 129136.3 Ops/sec
Array.filter 39710.5 Ops/sec
Array.indexOf 125107.0 Ops/sec
Array.includes 216506.4 Ops/sec
Array.find 185244.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find