Test name | Executions per second |
---|---|
lodash.each | 3256.1 Ops/sec |
native for-of w/ entries | 1439.3 Ops/sec |
native forEach w/ entries | 1289.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1335.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1442.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 47347.7 Ops/sec |
native forEach w/ Object.values (no keys) | 24580.2 Ops/sec |
native for-in | 671.6 Ops/sec |