Test name | Executions per second |
---|---|
lodash.each | 3366.0 Ops/sec |
native for-of w/ entries | 1266.9 Ops/sec |
native forEach w/ entries | 1151.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1164.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1223.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 45653.9 Ops/sec |
native forEach w/ Object.values (no keys) | 27641.6 Ops/sec |
native for-in | 573.6 Ops/sec |