Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:124.0) Gecko/20100101 Firefox/124.0
Firefox 124
Mac OS X 10.15
Desktop
9 months ago
Test name Executions per second
Object.assign 1610539.0 Ops/sec
spread operator 1097152.6 Ops/sec
property accessor 10265427.0 Ops/sec
property accessor 2 1732090.5 Ops/sec
Script Preparation code:
Tests:
  • Object.assign

  • spread operator

  • property accessor

  • property accessor 2