Test name | Executions per second |
---|---|
lodash.each | 2560.8 Ops/sec |
native for-of w/ entries | 1167.0 Ops/sec |
native forEach w/ entries | 1059.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1068.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1192.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 45529.1 Ops/sec |
native forEach w/ Object.values (no keys) | 16092.3 Ops/sec |
native for-in | 544.1 Ops/sec |