Test name | Executions per second |
---|---|
lodash.each | 3335.5 Ops/sec |
native for-of w/ entries | 1964.9 Ops/sec |
native forEach w/ entries | 2031.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1054.0 Ops/sec |
vanilla for-loop w/ Object.entries | 1933.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40220.7 Ops/sec |
native forEach w/ Object.values (no keys) | 44624.4 Ops/sec |
native for-in | 563.2 Ops/sec |