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 2467674.0 Ops/sec
Test Object.create 659707.1 Ops/sec
Test Object.assign 2911487.5 Ops/sec
Test New Object 655064.8 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object