Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0
Firefox 87
Linux
Desktop
3 years ago
Test name Executions per second
splice 1685559.5 Ops/sec
Object.assign spread 1528531.6 Ops/sec
Object.assign slice 2869642.2 Ops/sec
Object.assign orig 1500050.4 Ops/sec
Slice mutable 8847289.0 Ops/sec
slice mutable spread 2310226.2 Ops/sec
Tests:
  • splice

  • Object.assign spread

  • Object.assign slice

  • Object.assign orig

  • Slice mutable

  • slice mutable spread