Run details:
Mozilla/5.0 (Linux; Android 10; MI 9) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.50 Mobile Safari/537.36
Chrome Mobile 95
Android
Mobile
3 years ago
Test name Executions per second
Array.some 76164.8 Ops/sec
Array.filter 32085.7 Ops/sec
Array.indexOf 101842.6 Ops/sec
Array.includes 543124.4 Ops/sec
Array.find 68344.3 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find