Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Array.some 2667656.2 Ops/sec
Array.filter 2772428.8 Ops/sec
Array.indexOf 3820930.0 Ops/sec
Array.includes 3590856.2 Ops/sec
Array.reduce 888529.8 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.reduce


;