Run details:
Mozilla/5.0 (Linux; Android 7.0; Thor Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.105 Mobile Safari/537.36
Chrome Mobile 72
Android 7.0
Mobile
5 years ago
Test name Executions per second
Merge 2 Objects with spread 134043.4 Ops/sec
Merge 2 Objects with Object.assign 250839.9 Ops/sec
Add/Edit one object with spread 2095148.5 Ops/sec
Add/Edit one object with object.assign 260516.6 Ops/sec
Tests:
  • Merge 2 Objects with spread

  • Merge 2 Objects with Object.assign

  • Add/Edit one object with spread

  • Add/Edit one object with object.assign


;