Test name | Executions per second |
---|---|
lodash.each | 2728.3 Ops/sec |
native for-of w/ entries | 1416.4 Ops/sec |
native forEach w/ entries | 1224.0 Ops/sec |
vanilla for-loop w/ Object.keys | 1006.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1401.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 36760.3 Ops/sec |
native forEach w/ Object.values (no keys) | 18945.1 Ops/sec |
native for-in | 496.5 Ops/sec |