[Qgis-developer] QgisLogger can be a serious bottleneck

G. Allegri giohappy at gmail.com
Sat Jul 5 03:04:47 PDT 2014


I've added a pull request about this https://github.com/qgis/QGIS/pull/1499

giovanni


2014-07-05 11:15 GMT+02:00 G. Allegri <giohappy at gmail.com>:

> I meant QgsMessageLog, not QgsLogger...
>
>
> 2014-07-05 10:27 GMT+02:00 G. Allegri <giohappy at gmail.com>:
>
> As I reported in a previous post, I was unable to conclude a difference
>> operation on a vector because the tool was running in exponential time.
>>
>> Debugging pointed me to the problem: QgsVectoFileWriter was logging tons
>> of empty geometres with an incompatible type which will be discarded.
>> After commenting the line of logging the process completed in linear
>> time.
>>
>> Shouldn't we offer the opportunity to turn QgsLogger off? This would let
>> the user/developer to switch it off whenever he already knows what's
>> happening.
>> Is it already there and I missed it?
>>
>> giovanni
>>
>
>
>
> --
> Giovanni Allegri
> http://about.me/giovanniallegri
> Twitter: https://twitter.com/_giohappy_
> blog: http://blog.spaziogis.it
> GEO+ geomatica in Italia http://bit.ly/GEOplus
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140705/847c5f89/attachment.html>


More information about the Qgis-developer mailing list