Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
6 months ago
Test name Executions per second
Test Spread operator 2569240.5 Ops/sec
Test Object.create 645643.4 Ops/sec
Test Object.assign 3022232.0 Ops/sec
Test New Object 662436.6 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object