Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.80 Safari/537.36
Chrome 71
Linux
Desktop
5 years ago
Test name Executions per second
Using reduce and the spread operator 390026.8 Ops/sec
Using map and adding to an object 1568087.5 Ops/sec
Using reduce without spread operator 1644045.4 Ops/sec
Tests:
  • Using reduce and the spread operator

  • Using map and adding to an object

  • Using reduce without spread operator


;