Solved! Go to Solution.
Following some additional testing, it appears the problem is when there's a complex geography that is being passed into the query task.
Following some additional testing, it appears the problem is when there's a complex geography that is being passed into the query task.
That's a great help, thank you!
Because of the on-the-fly simplfication it is doing, there is still a chance that
a) the slow script message could appear - but greatly reduced from the likelihood before
b) the query task for the points could get a geometry which is too simplified (we're basing on zoom level as per the example on the ESRI documentation)
My recommended solution would be to use maxAllowableOffset to have the geometry generalized server side before being sent to the client. This will result in a faster response from the server. A little extra work is done server side but less data is sent to the client. Since the majority of time for the request is spent downloading data and parsing data, sending less data to the client is where you'll see the biggest performance improvement (even in browses that handle this volume of data easily, you should see better performance as it will take less time to download the data from the server).