Test name | Executions per second |
---|---|
lodash.each | 2470.3 Ops/sec |
native for-of w/ entries | 1128.0 Ops/sec |
native forEach w/ entries | 1012.1 Ops/sec |
vanilla for-loop w/ Object.keys | 717.0 Ops/sec |
vanilla for-loop w/ Object.entries | 827.1 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 14983.6 Ops/sec |
native forEach w/ Object.values (no keys) | 5682.4 Ops/sec |
native for-in | 364.4 Ops/sec |