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 427086.3 Ops/sec
Test Object.create 251392.5 Ops/sec
Test Object.assign 457671.9 Ops/sec
Test New Object 248072.1 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object