Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
Array.some 107619.4 Ops/sec
Array.filter 18376.8 Ops/sec
Array.indexOf 1275734.5 Ops/sec
Array.includes 1783164.6 Ops/sec
Array.find 97642.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find