Test name | Executions per second |
---|---|
lodash.each | 3900.5 Ops/sec |
native for-of w/ entries | 1383.0 Ops/sec |
native forEach w/ entries | 1260.8 Ops/sec |
vanilla for-loop w/ Object.keys | 994.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1408.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 50001.0 Ops/sec |
native forEach w/ Object.values (no keys) | 28012.6 Ops/sec |
native for-in | 494.2 Ops/sec |