Test name | Executions per second |
---|---|
lodash.each | 5288.4 Ops/sec |
native for-of w/ entries | 2111.5 Ops/sec |
native forEach w/ entries | 1969.8 Ops/sec |
vanilla for-loop w/ Object.keys | 1193.6 Ops/sec |
vanilla for-loop w/ Object.entries | 2078.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 55609.6 Ops/sec |
native forEach w/ Object.values (no keys) | 11745.2 Ops/sec |
native for-in | 604.1 Ops/sec |