Test case name | Result |
---|---|
map comparison: for..of | |
map comparison: .map | |
reduce comparision: for..of | |
reduce comparision: .reduce | |
raw iteration: for..of | |
raw iteration: forEach |
Test name | Executions per second |
---|---|
map comparison: for..of | 85.6 Ops/sec |
map comparison: .map | 132.2 Ops/sec |
reduce comparision: for..of | 182.5 Ops/sec |
reduce comparision: .reduce | 121.9 Ops/sec |
raw iteration: for..of | 207.4 Ops/sec |
raw iteration: forEach | 263.3 Ops/sec |