Test name | Executions per second |
---|---|
lodash.each | 4924.6 Ops/sec |
native for-of w/ entries | 1289.5 Ops/sec |
native forEach w/ entries | 1206.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1020.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1270.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 65408.4 Ops/sec |
native forEach w/ Object.values (no keys) | 10709.9 Ops/sec |
native for-in | 486.6 Ops/sec |