Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox 58
Linux
Other
2025 years ago
Test name Executions per second
Immutable reducer via spread operator 13792.8 Ops/sec
Mutable reducer via property assign 306257.2 Ops/sec
Script Preparation code:
Tests:
  • Immutable reducer via spread operator

  • Mutable reducer via property assign