Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Ubuntu
Desktop
4 years ago
Test name Executions per second
Test Spread operator 429493.4 Ops/sec
Test Object.create 236617.0 Ops/sec
Test Object.assign 464435.9 Ops/sec
Test New Object 247325.1 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object