Test name | Executions per second |
---|---|
lodash.each | 2127.4 Ops/sec |
native for-of w/ entries | 914.1 Ops/sec |
native forEach w/ entries | 891.2 Ops/sec |
vanilla for-loop w/ Object.keys | 884.6 Ops/sec |
vanilla for-loop w/ Object.entries | 968.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 33932.9 Ops/sec |
native forEach w/ Object.values (no keys) | 16769.5 Ops/sec |
native for-in | 447.6 Ops/sec |