Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0
Firefox 121
Linux
Desktop
11 months ago
Test name Executions per second
Test Spread operator 5815809.0 Ops/sec
Test Object.create 1344382.2 Ops/sec
Test Object.assign 6197124.0 Ops/sec
Test New Object 1298724.0 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object