Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A5010) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Array.some 44837.4 Ops/sec
Array.filter 19640.3 Ops/sec
Array.indexOf 233378.4 Ops/sec
Array.includes 407652.1 Ops/sec
Array.find 31012.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find