Test name | Executions per second |
---|---|
lodash.each | 3753.8 Ops/sec |
native for-of w/ entries | 1982.9 Ops/sec |
native forEach w/ entries | 1952.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1257.3 Ops/sec |
vanilla for-loop w/ Object.entries | 2017.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 62273.1 Ops/sec |
native forEach w/ Object.values (no keys) | 39461.2 Ops/sec |
native for-in | 623.1 Ops/sec |