Run details:
Mozilla/5.0 (X11; CrOS armv7l 13597.84.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.98 Safari/537.36
Chrome 92
Chrome OS 13597.84.0
Desktop
one year ago
Test name Executions per second
Array.some 13588.4 Ops/sec
Array.filter 4081.6 Ops/sec
Array.indexOf 40531.0 Ops/sec
Array.includes 199160.2 Ops/sec
Array.find 24579.9 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find