Test case name | Result |
---|---|
Map - for of kv | |
Map - forEach | |
Object.entries() - for of kv | |
Object.entries() - forEach | |
Object - for in |
Test name | Executions per second |
---|---|
Map - for of kv | 149420.2 Ops/sec |
Map - forEach | 153582.0 Ops/sec |
Object.entries() - for of kv | 352277.3 Ops/sec |
Object.entries() - forEach | 68654.1 Ops/sec |
Object - for in | 211288.3 Ops/sec |