Test name | Executions per second |
---|---|
lodash.each | 4195.1 Ops/sec |
native for-of w/ entries | 2689.9 Ops/sec |
native forEach w/ entries | 2457.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1355.0 Ops/sec |
vanilla for-loop w/ Object.entries | 2871.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 43767.4 Ops/sec |
native forEach w/ Object.values (no keys) | 25255.0 Ops/sec |
native for-in | 685.1 Ops/sec |