Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Mobile Safari/537.36 EdgA/118.0.2088.58
Chrome Mobile 118
Android
Mobile
one year ago
Test name Executions per second
Array.some 179614.6 Ops/sec
Array.filter 56910.2 Ops/sec
Array.indexOf 146560.8 Ops/sec
Array.includes 1135729.4 Ops/sec
Array.find 182495.1 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find