Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Chrome 63
Linux
Other
2025 years ago
Test name Executions per second
Immutable reducer via spread operator 23404.1 Ops/sec
Mutable reducer via property assign 915511.6 Ops/sec
Script Preparation code:
Tests:
  • Immutable reducer via spread operator

  • Mutable reducer via property assign