~55% of CPU usage consumed during getPotentialClients is used for constructing weightedUris as shown in the following flamegraph with the Stream collecting.
To minimize this operation, this change is to avoid doing it for clusters that don't have subsetting enabled.
~55% of CPU usage consumed during getPotentialClients is used for constructing weightedUris as shown in the following flamegraph with the Stream collecting.
To minimize this operation, this change is to avoid doing it for clusters that don't have subsetting enabled.