Test name | Executions per second |
---|---|
lodash.each | 2853.8 Ops/sec |
native for-of w/ entries | 1474.1 Ops/sec |
native forEach w/ entries | 1253.3 Ops/sec |
vanilla for-loop w/ Object.keys | 1031.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1495.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 49564.0 Ops/sec |
native forEach w/ Object.values (no keys) | 23445.9 Ops/sec |
native for-in | 518.2 Ops/sec |