Run details:
Mozilla/5.0 (Linux; Android 12) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/98.0.4758.101 Mobile DuckDuckGo/5 Safari/537.36
Chrome Mobile 98
Android
Mobile
2 years ago
Test name Executions per second
with spread operator 284501.6 Ops/sec
with mutation 1265477.4 Ops/sec
with object assign 46992.8 Ops/sec
Tests:
  • with spread operator

  • with mutation

  • with object assign