Test name | Executions per second |
---|---|
lodash.each | 2268.8 Ops/sec |
native for-of w/ entries | 1106.7 Ops/sec |
native forEach w/ entries | 1150.0 Ops/sec |
vanilla for-loop w/ Object.keys | 996.0 Ops/sec |
vanilla for-loop w/ Object.entries | 1259.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 22051.1 Ops/sec |
native forEach w/ Object.values (no keys) | 10643.9 Ops/sec |
native for-in | 540.7 Ops/sec |