Run details:
Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/110.0 Firefox/110.0
Firefox Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Using the spread operator 2854990.5 Ops/sec
Using Object.assign 5776174.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign