Test case name | Result |
---|---|
Object.entries | |
Object.keys | |
Object.keys with extra array | |
Object.entries without array | |
for .. of |
Test name | Executions per second |
---|---|
Object.entries | 41831.2 Ops/sec |
Object.keys | 62517.7 Ops/sec |
Object.keys with extra array | 37218.0 Ops/sec |
Object.entries without array | 42420.4 Ops/sec |
for .. of | 4531930.0 Ops/sec |