Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36
Chrome 87
Linux
Desktop
3 years ago
Test name Executions per second
splice 5181572.5 Ops/sec
Object.assign spread 1543570.9 Ops/sec
Object.assign slice 1578301.5 Ops/sec
Object.assign orig 1541619.6 Ops/sec
Slice mutable 23776464.0 Ops/sec
slice mutable spread 18636068.0 Ops/sec
Tests:
  • splice

  • Object.assign spread

  • Object.assign slice

  • Object.assign orig

  • Slice mutable

  • slice mutable spread