Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0
Firefox 78
Ubuntu
Desktop
4 years ago
Test name Executions per second
Test Spread operator 413602.3 Ops/sec
Test Object.create 244831.5 Ops/sec
Test Object.assign 452731.1 Ops/sec
Test New Object 241045.3 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object