Test name | Executions per second |
---|---|
lodash.each | 3683.4 Ops/sec |
native for-of w/ entries | 2102.5 Ops/sec |
native forEach w/ entries | 1873.9 Ops/sec |
vanilla for-loop w/ Object.keys | 792.5 Ops/sec |
vanilla for-loop w/ Object.entries | 1614.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 28504.4 Ops/sec |
native forEach w/ Object.values (no keys) | 14677.3 Ops/sec |
native for-in | 402.9 Ops/sec |