Test case name | Result |
---|---|
intersect_for(shortArr1, shortArr2) | |
intersect_filter_indexOf(shortArr1, shortArr2) | |
intersect_filter_in(shortArr1, shortArr2) | |
intersect_for_in(shortArr1, shortArr2) | |
intersect_filter_includes(shortArr1, shortArr2) | |
intersect_filter_has_this(shortArr1, shortArr2) | |
intersect_filter_has_arrow(shortArr1, shortArr2) | |
intersect_for_has(shortArr1, shortArr2) |
Test name | Executions per second |
---|---|
intersect_for(shortArr1, shortArr2) | 150416.4 Ops/sec |
intersect_filter_indexOf(shortArr1, shortArr2) | 152818.9 Ops/sec |
intersect_filter_in(shortArr1, shortArr2) | 708758.7 Ops/sec |
intersect_for_in(shortArr1, shortArr2) | 985539.2 Ops/sec |
intersect_filter_includes(shortArr1, shortArr2) | 124490.2 Ops/sec |
intersect_filter_has_this(shortArr1, shortArr2) | 131287.8 Ops/sec |
intersect_filter_has_arrow(shortArr1, shortArr2) | 128878.7 Ops/sec |
intersect_for_has(shortArr1, shortArr2) | 128608.3 Ops/sec |