Test case name | Result |
---|---|
Iteration with blank object | |
Object.assign with blank object | |
Iteration with created object | |
Object.assign with created object | |
Iteration with blank object and prototype | |
Object.assign with blank object and prototype | |
Iteration with blank object and prototype prop | |
Object.assign with blank object and prototype prop |
Test name | Executions per second |
---|---|
Iteration with blank object | 857257.9 Ops/sec |
Object.assign with blank object | 2311630.2 Ops/sec |
Iteration with created object | 662647.1 Ops/sec |
Object.assign with created object | 1338702.0 Ops/sec |
Iteration with blank object and prototype | 639820.2 Ops/sec |
Object.assign with blank object and prototype | 1236175.2 Ops/sec |
Iteration with blank object and prototype prop | 724507.6 Ops/sec |
Object.assign with blank object and prototype prop | 1597628.5 Ops/sec |