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 24959.0 Ops/sec
Mutable reducer via property assign 962153.2 Ops/sec
Script Preparation code:
Tests:
  • Immutable reducer via spread operator

  • Mutable reducer via property assign