Test name | Executions per second |
---|---|
lodash.each | 7168.8 Ops/sec |
native for-of w/ entries | 4367.3 Ops/sec |
native forEach w/ entries | 4494.7 Ops/sec |
vanilla for-loop w/ Object.keys | 2197.6 Ops/sec |
vanilla for-loop w/ Object.entries | 4436.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 69963.8 Ops/sec |
native forEach w/ Object.values (no keys) | 59018.1 Ops/sec |
native for-in | 1123.9 Ops/sec |