Test name | Executions per second |
---|---|
lodash.each | 3283.1 Ops/sec |
native for-of w/ entries | 1359.1 Ops/sec |
native forEach w/ entries | 1223.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1148.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1316.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 38461.2 Ops/sec |
native forEach w/ Object.values (no keys) | 22580.6 Ops/sec |
native for-in | 616.0 Ops/sec |