Test name | Executions per second |
---|---|
lodash.each | 3898.8 Ops/sec |
native for-of w/ entries | 1922.2 Ops/sec |
native forEach w/ entries | 2005.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1090.2 Ops/sec |
vanilla for-loop w/ Object.entries | 2165.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 50972.6 Ops/sec |
native forEach w/ Object.values (no keys) | 38157.1 Ops/sec |
native for-in | 585.8 Ops/sec |