Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36
Chrome 100
Linux
Desktop
2 years ago
Test name Executions per second
Test Spread operator 924421.4 Ops/sec
Test Object.create 365167.3 Ops/sec
Test Object.assign 846678.6 Ops/sec
Test New Object 492977.4 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object