Test name | Executions per second |
---|---|
lodash.each | 4523.8 Ops/sec |
native for-of w/ entries | 1663.1 Ops/sec |
native forEach w/ entries | 1833.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1410.8 Ops/sec |
vanilla for-loop w/ Object.entries | 2007.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 57077.2 Ops/sec |
native forEach w/ Object.values (no keys) | 32893.5 Ops/sec |
native for-in | 739.1 Ops/sec |