Test name | Executions per second |
---|---|
lodash.each | 2129.7 Ops/sec |
native for-of w/ entries | 1160.1 Ops/sec |
native forEach w/ entries | 997.0 Ops/sec |
vanilla for-loop w/ Object.keys | 886.9 Ops/sec |
vanilla for-loop w/ Object.entries | 1150.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 53275.7 Ops/sec |
native forEach w/ Object.values (no keys) | 21036.9 Ops/sec |
native for-in | 430.5 Ops/sec |