Script Preparation code:
Tests:
  • Immutable reducer via spread operator

  • Mutable reducer via property assign

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Immutable reducer via spread operator
    Mutable reducer via property assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Chrome 65 on Windows
View result in a separate tab
Test name Executions per second
Immutable reducer via spread operator 24450.1 Ops/sec
Mutable reducer via property assign 20241.0 Ops/sec


;