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 2871249.2 Ops/sec
Reduce-Push 3715911.2 Ops/sec
Reduce-Concat 149601.9 Ops/sec
Reduce-Spread 639149.0 Ops/sec
ForOf-Push 3941843.0 Ops/sec
Script Preparation code:
Tests:
  • Filter-Map

  • Reduce-Push

  • Reduce-Concat

  • Reduce-Spread

  • ForOf-Push