Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-N9750) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/18.0 Chrome/99.0.4844.88 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Array.some 55079.0 Ops/sec
Array.filter 21233.0 Ops/sec
Array.indexOf 88139.6 Ops/sec
Array.includes 956194.1 Ops/sec
Array.find 52739.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;