-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Very slow on Windows #115
Comments
For reference, using the localtileserver binder, it takes less than two seconds to generate tiles. |
I added this recently -- I'd like to keep it as I think it is valuable and it does accurately correspond to tiles loading. To disable it, simply pass |
I'll try to look into this when I have a chance. Timing the full execution of that script isn't very insightful, so I'll have to dig into each part of the script to figure out what's taking so long. Is it the Further, how Python is running on the host windows machine can significantly impact performance, such as if it is running under the linux subsystem. |
My windows machine is happy today, so I'm looking into this. I've at least narrowed it down to the Collecting the metadata for this raster seems to be the culprit and specifically when it's done through the rest interface. I have a feeling there are a few things that need to be optimized and this will require me to really dig into this. To be honest, Windows is a pain for me to work on and I can't promise I'll get to this anytime soon |
What I may do is change the implementation a bit under the hood to generally optimize the |
I've done most of the refactoring/optimization that I wanted to and this doesn't seem actionable any further. I'm hoping that whatever issue you were having have magically resolved themselves by switching to using rasterio instead of GDAL |
I noticed that localtileserver is very slow on Windows. It took ~13 seconds to generate tiles for this very small GeoTIFF (14 MB). It used to be very fast on Linux. I am not sure what causes the issue.
env
The text was updated successfully, but these errors were encountered: