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 133659.6 Ops/sec
Array.filter 23128.3 Ops/sec
Array.indexOf 1239229.6 Ops/sec
Array.includes 1396411.2 Ops/sec
Array.find 110578.2 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find