Test case name | Result |
---|---|
For ... in length test | |
Object.keys length test | |
Object.values length test | |
Object.entries length test | |
For In Reduce test | |
Object.keys Reduce test | |
Object.values Reduce test | |
Object.entries reduce test |
Test name | Executions per second |
---|---|
For ... in length test | 33667016.0 Ops/sec |
Object.keys length test | 22010310.0 Ops/sec |
Object.values length test | 15438587.0 Ops/sec |
Object.entries length test | 6265567.5 Ops/sec |
For In Reduce test | 17620388.0 Ops/sec |
Object.keys Reduce test | 9600209.0 Ops/sec |
Object.values Reduce test | 9906636.0 Ops/sec |
Object.entries reduce test | 4823545.5 Ops/sec |