Test case name | Result |
---|---|
splice | |
Object.assign spread | |
Object.assign slice | |
Object.assign orig | |
Slice mutable | |
slice mutable spread |
Test name | Executions per second |
---|---|
splice | 5181573.0 Ops/sec |
Object.assign spread | 1543571.0 Ops/sec |
Object.assign slice | 1578302.0 Ops/sec |
Object.assign orig | 1541620.0 Ops/sec |
Slice mutable | 23776460.0 Ops/sec |
slice mutable spread | 18636070.0 Ops/sec |