Run details:
Mozilla/5.0 (Linux; Android 12; M2101K9AG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
Array.some 70391.1 Ops/sec
Array.filter 16383.4 Ops/sec
Array.indexOf 160717.2 Ops/sec
Array.includes 931092.5 Ops/sec
Array.find 64474.5 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find


;