Tests:
  • Object.assign

  • spread operator

  • 1 Dimensional loop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.assign
    spread operator
    1 Dimensional loop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36
Chrome 91 on Mac OS X 10.14.1
View result in a separate tab
Test name Executions per second
Object.assign 2847415.8 Ops/sec
spread operator 8784739.0 Ops/sec
1 Dimensional loop 8577439.0 Ops/sec


;