Test name | Executions per second |
---|---|
lodash.each | 2598.7 Ops/sec |
native for-of w/ entries | 1155.6 Ops/sec |
native forEach w/ entries | 1046.6 Ops/sec |
vanilla for-loop w/ Object.keys | 864.0 Ops/sec |
vanilla for-loop w/ Object.entries | 1165.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 19885.5 Ops/sec |
native forEach w/ Object.values (no keys) | 13241.0 Ops/sec |
native for-in | 485.2 Ops/sec |