Script Preparation code:
Tests:
  • Iteration with blank object

  • Object.assign with blank object

  • Iteration with created object

  • Object.assign with created object

  • Iteration with blank object and prototype

  • Object.assign with blank object and prototype

  • Iteration with blank object and prototype prop

  • Object.assign with blank object and prototype prop

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Iteration with blank object
    Object.assign with blank object
    Iteration with created object
    Object.assign with created object
    Iteration with blank object and prototype
    Object.assign with blank object and prototype
    Iteration with blank object and prototype prop
    Object.assign with blank object and prototype prop

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:72.0) Gecko/20100101 Firefox/72.0
Firefox 72 on Mac OS X 10.15
View result in a separate tab
Test name Executions per second
Iteration with blank object 16853192.0 Ops/sec
Object.assign with blank object 4741288.5 Ops/sec
Iteration with created object 17946056.0 Ops/sec
Object.assign with created object 5912600.0 Ops/sec
Iteration with blank object and prototype 5608727.0 Ops/sec
Object.assign with blank object and prototype 3461991.2 Ops/sec
Iteration with blank object and prototype prop 6119875.0 Ops/sec
Object.assign with blank object and prototype prop 3286556.0 Ops/sec