Run details:
Mozilla/5.0 (Linux; Android 9; Moto Z3 Play) 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 33935.3 Ops/sec
Array.filter 6785.4 Ops/sec
Array.indexOf 82630.1 Ops/sec
Array.includes 268379.9 Ops/sec
Array.find 24807.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find