Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 17_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/128 Mobile/15E148 Version/15.0
Mobile Safari 15
iOS 17.5.1
Mobile
5 months ago
Test name Executions per second
Array.some 102104.8 Ops/sec
Array.filter 64635.1 Ops/sec
Array.indexOf 4674983.0 Ops/sec
Array.includes 108791.1 Ops/sec
Array.find 179792.4 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find