Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4029.3 Safari/537.36
Chrome 81
Mac OS X 10.15.2
Desktop
4 years ago
Test name Executions per second
Filter-Map 1748528.5 Ops/sec
Reduce-Push 2812751.8 Ops/sec
Reduce-Concat 82864.7 Ops/sec
Reduce-Spread 458482.7 Ops/sec
ForOf-Push 2192616.0 Ops/sec
Script Preparation code:
Tests:
  • Filter-Map

  • Reduce-Push

  • Reduce-Concat

  • Reduce-Spread

  • ForOf-Push


;