Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Object.assign two objects
    Spread two objects
    Object.assign two objects with no empty object first

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Windows
View result in a separate tab
Object.assign two objects with no empty object first
55K/s
Spread two objects
20K/s
Object.assign two objects
16K/s
View exact numbers
Test name Executions per second
Object.assign two objects with no empty object first 54,682 Ops/sec
Spread two objects 19,808 Ops/sec
Object.assign two objects 15,846 Ops/sec