Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_6_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/131.0.6778.73 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 131
iOS 17.6.1
Mobile
one month ago
Test name Executions per second
Array.some 147882.3 Ops/sec
Array.filter 61872.1 Ops/sec
Array.indexOf 5529166.5 Ops/sec
Array.includes 171576.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes