Test case name | Result |
---|---|
for with a small json | |
Object.keys with a small json | |
Object.values with a small json | |
for with a big json | |
Object.keys with a big json | |
Object.values with a big json |
Test name | Executions per second |
---|---|
for with a small json | 4293085.0 Ops/sec |
Object.keys with a small json | 1263206.0 Ops/sec |
Object.values with a small json | 883448.3 Ops/sec |
for with a big json | 5521.8 Ops/sec |
Object.keys with a big json | 615.7 Ops/sec |
Object.values with a big json | 484.6 Ops/sec |