Test name | Executions per second |
---|---|
lodash.each | 5016.6 Ops/sec |
native for-of w/ entries | 2296.1 Ops/sec |
native forEach w/ entries | 2249.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1518.1 Ops/sec |
vanilla for-loop w/ Object.entries | 2320.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 38010.3 Ops/sec |
native forEach w/ Object.values (no keys) | 34193.1 Ops/sec |
native for-in | 759.1 Ops/sec |