Test name | Executions per second |
---|---|
lodash.each | 4140.0 Ops/sec |
native for-of w/ entries | 1517.5 Ops/sec |
native forEach w/ entries | 1398.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1114.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1573.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 55141.2 Ops/sec |
native forEach w/ Object.values (no keys) | 29834.4 Ops/sec |
native for-in | 557.7 Ops/sec |