Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
Chrome 97
Linux
Desktop
2 years ago
Test name Executions per second
Test Spread operator 413774.8 Ops/sec
Test Object.create 178225.0 Ops/sec
Test Object.assign 439764.0 Ops/sec
Test New Object 232497.3 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object