Test name | Executions per second |
---|---|
lodash.each | 8757.4 Ops/sec |
native for-of w/ entries | 5024.4 Ops/sec |
native forEach w/ entries | 5240.9 Ops/sec |
vanilla for-loop w/ Object.keys | 2910.7 Ops/sec |
vanilla for-loop w/ Object.entries | 5043.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 91437.0 Ops/sec |
native forEach w/ Object.values (no keys) | 90329.4 Ops/sec |
native for-in | 1440.4 Ops/sec |