Re: [QGIS-Developer] The virtual QgsRasterInterface block method is too slow

2020-10-06 Thread René-Luc Dhont
Thanks Nyall, I have tested Hotspot and the result is interesting : * 48.7% of the time is due to QgsRasterProjector::block that provide projected raster block * 26.6% of the time is due to ProjectorData::srcRowCol that identify the source row col corresponding to the destination row col Is

Re: [QGIS-Developer] The virtual QgsRasterInterface block method is too slow

2020-10-04 Thread Nyall Dawson
On Fri, 2 Oct 2020 at 00:53, René-Luc Dhont wrote: > > Hi devs, > > A customer found that reading a lightweight GeoTIFF takes 1 second in > QGIS Server needs less than 200 milliseconds. > > With timer I found somethings strange around the virtual > QgsRasterInterface block method and it's

[QGIS-Developer] The virtual QgsRasterInterface block method is too slow

2020-10-01 Thread René-Luc Dhont
Hi devs, A customer found that reading a lightweight GeoTIFF takes 1 second in QGIS Server needs less than 200 milliseconds. With timer I found somethings strange around the virtual QgsRasterInterface block method and it's reimplation in QgsGdalProvider. Here is part of my logs: