Run details:
Mozilla/5.0 (Linux; U; Android 10; ru-ru; POCOPHONE F1 Build/QKQ1.190828.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/71.0.3578.141 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.6.6-gn
Chrome Mobile 71
Android
Mobile
4 years ago
Test name Executions per second
Immutable reducer via spread operator 73266.3 Ops/sec
Mutable reducer via property assign 763666.9 Ops/sec
Script Preparation code:
Tests:
  • Immutable reducer via spread operator

  • Mutable reducer via property assign