Test name | Executions per second |
---|---|
lodash.each | 3392.3 Ops/sec |
native for-of w/ entries | 1200.9 Ops/sec |
native forEach w/ entries | 1122.9 Ops/sec |
vanilla for-loop w/ Object.keys | 977.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1233.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 38828.3 Ops/sec |
native forEach w/ Object.values (no keys) | 21874.9 Ops/sec |
native for-in | 480.1 Ops/sec |