Test case name | Result |
---|---|
Array - iteration | |
Set - iteration | |
Array - includes | |
Set - has | |
Array - push | |
Set - add | |
Array - deletion | |
Set - deletion | |
Converting a Set to an Array |
Test name | Executions per second |
---|---|
Array - iteration | 45313.0 Ops/sec |
Set - iteration | 19083.8 Ops/sec |
Array - includes | 1375952.0 Ops/sec |
Set - has | 10655330.0 Ops/sec |
Array - push | 6141996.0 Ops/sec |
Set - add | 10119250.0 Ops/sec |
Array - deletion | 64.6 Ops/sec |
Set - deletion | 9614678.0 Ops/sec |
Converting a Set to an Array | 7128.0 Ops/sec |