Test case name | Result |
---|---|
Generator populating a map via for...of | |
Generator populating a map via Map.prototype.constructor | |
recursively add to map using Array.prototype.forEach | |
recursively add to map using for...of |
Test name | Executions per second |
---|---|
Generator populating a map via for...of | 3.6 Ops/sec |
Generator populating a map via Map.prototype.constructor | 2.4 Ops/sec |
recursively add to map using Array.prototype.forEach | 10.8 Ops/sec |
recursively add to map using for...of | 11.9 Ops/sec |