Test name | Executions per second |
---|---|
lodash.each | 7715.4 Ops/sec |
native for-of w/ entries | 3877.1 Ops/sec |
native forEach w/ entries | 4506.6 Ops/sec |
vanilla for-loop w/ Object.keys | 2320.4 Ops/sec |
vanilla for-loop w/ Object.entries | 4452.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 70020.8 Ops/sec |
native forEach w/ Object.values (no keys) | 59337.4 Ops/sec |
native for-in | 1183.1 Ops/sec |