Script Preparation code:
Tests:
  • Spread

  • Object.assign (mutate)

  • Object.assign (new object)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Spread
    Object.assign (mutate)
    Object.assign (new object)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 6 years ago)
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0
Firefox 63 on Windows 8.1
View result in a separate tab
Test name Executions per second
Spread 2588041.8 Ops/sec
Object.assign (mutate) 5209417.5 Ops/sec
Object.assign (new object) 1071711.9 Ops/sec