Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36
Chrome 116
Linux
Desktop
one year ago
Test name Executions per second
Array.some 309025.4 Ops/sec
Array.filter 43281.6 Ops/sec
Array.indexOf 1480068.1 Ops/sec
Array.includes 3102273.2 Ops/sec
Array.find 632723.4 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.find