I have a question: Why is the execution speed of "Select Layer By Location" in ArcGIS Pro very fast, but when using SpatialQueryFilter in the SDK to perform a search on FeatureClass, the speed is very slow? Both operations involve intersecting tens of thousands of points. Can anyone explain this?
Caching, would be my guess.
Pro has done most of the hard work when working with layers in the map.
Operations on the featureclass have to reach out to the data source, as opposed to working with a layer or mapmember class.