Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-M317F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/20.0 Chrome/106.0.5249.126 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
one year ago
Test name Executions per second
Array.some 44265.8 Ops/sec
Array.filter 19961.7 Ops/sec
Array.indexOf 110101.7 Ops/sec
Array.includes 458921.8 Ops/sec
Array.find 47813.0 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find