Test name | Executions per second |
---|---|
lodash.each | 2846.9 Ops/sec |
native for-of w/ entries | 1000.7 Ops/sec |
native forEach w/ entries | 782.3 Ops/sec |
vanilla for-loop w/ Object.keys | 811.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1067.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 48965.0 Ops/sec |
native forEach w/ Object.values (no keys) | 10515.2 Ops/sec |
native for-in | 393.6 Ops/sec |