Test name | Executions per second |
---|---|
lodash.each | 3682.6 Ops/sec |
native for-of w/ entries | 2058.9 Ops/sec |
native forEach w/ entries | 1850.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1312.5 Ops/sec |
vanilla for-loop w/ Object.entries | 2107.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 54836.5 Ops/sec |
native forEach w/ Object.values (no keys) | 29654.2 Ops/sec |
native for-in | 661.0 Ops/sec |