Run details:
Mozilla/5.0 (Linux; Android 11; SM-A525M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Array.some 57517.3 Ops/sec
Array.filter 18104.9 Ops/sec
Array.indexOf 86788.9 Ops/sec
Array.includes 542120.1 Ops/sec
Array.find 56154.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find