Run details:
Mozilla/5.0 (Linux; Android 9; JKM-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.88 Mobile Safari/537.36
Chrome Mobile 100
Android
Mobile
2 years ago
Test name Executions per second
Array.some 29071.6 Ops/sec
Array.filter 5296.6 Ops/sec
Array.indexOf 48526.7 Ops/sec
Array.includes 420567.1 Ops/sec
Array.find 20754.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find