Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:122.0) Gecko/20100101 Firefox/122.0
Firefox 122
Windows
Desktop
one year ago
Test name Executions per second
Array.some 3977914.0 Ops/sec
Array.filter 3718112.5 Ops/sec
Array.indexOf 4754044.0 Ops/sec
Array.includes 7117279.0 Ops/sec
Array.reduce 1146333.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.reduce