Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Mac OS X 10.15
Desktop
2 months ago
Test name Executions per second
Test Spread operator 7166925.5 Ops/sec
Test Object.create 1858127.6 Ops/sec
Test Object.assign 8579678.0 Ops/sec
Test New Object 2040811.2 Ops/sec
Script Preparation code:
Tests:
  • Test Spread operator

  • Test Object.create

  • Test Object.assign

  • Test New Object