Test name | Executions per second |
---|---|
lodash.each | 2864.6 Ops/sec |
native for-of w/ entries | 1377.8 Ops/sec |
native forEach w/ entries | 1217.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1166.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1378.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 35666.0 Ops/sec |
native forEach w/ Object.values (no keys) | 20424.8 Ops/sec |
native for-in | 604.0 Ops/sec |