Test name | Executions per second |
---|---|
lodash.each | 2245.2 Ops/sec |
native for-of w/ entries | 875.8 Ops/sec |
native forEach w/ entries | 816.0 Ops/sec |
vanilla for-loop w/ Object.keys | 761.8 Ops/sec |
vanilla for-loop w/ Object.entries | 909.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 33432.6 Ops/sec |
native forEach w/ Object.values (no keys) | 16550.4 Ops/sec |
native for-in | 373.7 Ops/sec |