Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Filter-Map 2796968.8 Ops/sec
Reduce-Push 3540830.8 Ops/sec
Reduce-Concat 149492.2 Ops/sec
Reduce-Spread 640830.6 Ops/sec
ForOf-Push 3951809.8 Ops/sec
Script Preparation code:
Tests:
  • Filter-Map

  • Reduce-Push

  • Reduce-Concat

  • Reduce-Spread

  • ForOf-Push