Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0
Firefox 70
Windows 8.1
Desktop
5 years ago
Test name Executions per second
Using the spread operator 1011555.3 Ops/sec
Set the properties directly in the object 6502746.5 Ops/sec
Script Preparation code:
Tests:
  • Using the spread operator

  • Set the properties directly in the object


;