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 4217534.0 Ops/sec
Object.assign spread 1205179.1 Ops/sec
Object.assign slice 1229671.9 Ops/sec
Object.assign orig 1233515.9 Ops/sec
Slice mutable 18945650.0 Ops/sec
Tests:
  • splice

  • Object.assign spread

  • Object.assign slice

  • Object.assign orig

  • Slice mutable

  • slice mutable spread