Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 14_8_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/99.3 Mobile/15E148 Safari/605.1.15
Mobile Safari 14
iOS 14.8.1
Mobile
2 years ago
Test name Executions per second
with spread operator 419782.8 Ops/sec
with mutation 6756129.5 Ops/sec
with object assign 413755.1 Ops/sec
Tests:
  • with spread operator

  • with mutation

  • with object assign