Test name | Executions per second |
---|---|
lodash.each | 3180.2 Ops/sec |
native for-of w/ entries | 1320.5 Ops/sec |
native forEach w/ entries | 1197.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1118.0 Ops/sec |
vanilla for-loop w/ Object.entries | 1320.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 44034.8 Ops/sec |
native forEach w/ Object.values (no keys) | 18892.3 Ops/sec |
native for-in | 584.2 Ops/sec |