Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0
Firefox 117
Windows
Desktop
one year ago
Test name Executions per second
Array.some 1559469.5 Ops/sec
Array.filter 1324274.1 Ops/sec
Array.indexOf 3411537.8 Ops/sec
Array.includes 4778201.5 Ops/sec
Array.reduce 622771.6 Ops/sec
Script Preparation code:
Tests:
  • Array.some

  • Array.filter

  • Array.indexOf

  • Array.includes

  • Array.reduce