Run details:
Mozilla/5.0 (Linux; Android 9; EML-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Mobile Safari/537.36
Chrome Mobile 106
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 509986.8 Ops/sec
Using Object.assign 362348.2 Ops/sec
Babel 70092.5 Ops/sec
Script Preparation code:
Tests:
  • Using the spread operator

  • Using Object.assign

  • Babel