Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Linux
Desktop
one year ago
Test name Executions per second
Object.assign 1225489.0 Ops/sec
spread operator 985072.7 Ops/sec
property accessor 10437606.0 Ops/sec
property accessor 2 2024266.0 Ops/sec
Script Preparation code:
Tests:
  • Object.assign

  • spread operator

  • property accessor

  • property accessor 2