Test name | Executions per second |
---|---|
lodash.each | 2463.8 Ops/sec |
native for-of w/ entries | 898.7 Ops/sec |
native forEach w/ entries | 835.1 Ops/sec |
vanilla for-loop w/ Object.keys | 786.6 Ops/sec |
vanilla for-loop w/ Object.entries | 951.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40080.8 Ops/sec |
native forEach w/ Object.values (no keys) | 16189.9 Ops/sec |
native for-in | 387.3 Ops/sec |