Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Windows
Desktop
one year ago
Test name Executions per second
Array.filter 20346.7 Ops/sec
for, continue 68550.6 Ops/sec
for, condition 69394.4 Ops/sec
for..of 19424.3 Ops/sec
Array.reduce 20445.6 Ops/sec
generator, spread 1590.8 Ops/sec
Script Preparation code:
Tests:
  • Array.filter

  • for, continue

  • for, condition

  • for..of

  • Array.reduce

  • generator, spread