Test case name | Result |
---|---|
Reduce and Spread | |
ForEach and Mutate (for .. in loop) | |
Mutate with Object.assign | |
Foreach and Mutate (Object.assign) |
Test name | Executions per second |
---|---|
Reduce and Spread | 100481.5 Ops/sec |
ForEach and Mutate (for .. in loop) | 319679.4 Ops/sec |
Mutate with Object.assign | 227602.6 Ops/sec |
Foreach and Mutate (Object.assign) | 18539.6 Ops/sec |