Script Preparation code:
Tests:
  • Object.assign two objects

  • Spread two objects

  • Object.assign three objects

  • Spread three objects

  • Object.assign four objects

  • Spread four objects

  • Object.assign five objects

  • Spread five objects

  • Object.assign six objects

  • Spread six objects

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 three objects
    Spread three objects
    Object.assign four objects
    Spread four objects
    Object.assign five objects
    Spread five objects
    Object.assign six objects
    Spread six objects

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 16 days ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Object.assign two objects 43872.2 Ops/sec
Spread two objects 64576.5 Ops/sec
Object.assign three objects 21610.5 Ops/sec
Spread three objects 41835.0 Ops/sec
Object.assign four objects 14846.5 Ops/sec
Spread four objects 30330.7 Ops/sec
Object.assign five objects 11497.4 Ops/sec
Spread five objects 23543.9 Ops/sec
Object.assign six objects 9641.8 Ops/sec
Spread six objects 19017.1 Ops/sec


;