You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been troubleshooting a nasty performance issue that seemed to occur randomly. That is, until I narrowed it down. Take the following example:
Searching for properties near Fontana, California.
If I search within a 4km radius, I get 408 results in about 2 seconds.
If I search within a 5km radius, I get 555 results in about 40 seconds.
Somewhere between 4km and 5km I'm hitting an invisible wall which makes the query 20x slower.
Here's the relevant code (I had profiling code in there to show the exact performance but I removed it for simplicity:
I've been troubleshooting a nasty performance issue that seemed to occur randomly. That is, until I narrowed it down. Take the following example:
Searching for properties near Fontana, California.
If I search within a 4km radius, I get 408 results in about 2 seconds.
If I search within a 5km radius, I get 555 results in about 40 seconds.
Somewhere between 4km and 5km I'm hitting an invisible wall which makes the query 20x slower.
Here's the relevant code (I had profiling code in there to show the exact performance but I removed it for simplicity:
The text was updated successfully, but these errors were encountered: