Test name | Executions per second |
---|---|
lodash.each | 2981.6 Ops/sec |
native for-of w/ entries | 1374.5 Ops/sec |
native forEach w/ entries | 1209.0 Ops/sec |
vanilla for-loop w/ Object.keys | 1204.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1429.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 42569.3 Ops/sec |
native forEach w/ Object.values (no keys) | 25311.3 Ops/sec |
native for-in | 617.2 Ops/sec |