Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/26.0 Chrome/122.0.0.0 Mobile Safari/537.36
Chrome Mobile 122
Android
Mobile
5 months ago
Test name Executions per second
Array.some 262003.9 Ops/sec
Array.filter 96874.2 Ops/sec
Array.indexOf 953015.5 Ops/sec
Array.includes 1922591.0 Ops/sec
Array.find 283329.7 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find