Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-18 Thread Paolo Cavallini
Il 18/06/2014 19:13, Anita Graser ha scritto:

> +1 for watching the rendering speed more closely when adding new
> features. The standard settings shouldn't go slower if it can be
> avoided.

Agreed, the work by Radim should be kept in use.
Anyone willing to do or support it?
All the best.

-- 
Paolo Cavallini - www.faunalia.eu
Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-18 Thread Anita Graser
On Tue, Jun 17, 2014 at 6:37 PM, Martin Dobias  wrote:
> For a good comparison, I would suggest to have a look where the
> slowness really comes from. Apart from labeling, there could be many
> more factors affecting the speed - data-defined symbology, expressions
> in rule-based renderer, used symbol layers, reprojections etc.

As mentioned on June 3rd, the problem seems to be gone in the new
versions. Of course it would still be interesting to break the
rendering time down into it's different parts.

> Generally speaking, we should try to handle the performance
> regressions more seriously - in the process of adding new features it
> is easy to introduce something that negatively affects the rendering
> speed. Radim has done some effort to build a benchmarking system for
> QGIS some time ago, maybe it is time to bring it back to life and
> start watching it more closely.

+1 for watching the rendering speed more closely when adding new
features. The standard settings shouldn't go slower if it can be
avoided.

> Btw. nice project for testing purposes. The multipolygons layer
> contains a bunch of invalid geometries, it helped to find bugs in some
> of the new features :-)

Always glad to help with some invalid geometries ;-)

Best wishes,
Anita



>
> Regards
> Martin
>
>
>
> On Sun, Jun 1, 2014 at 7:49 PM, Anita Graser  wrote:
>> Hi,
>>
>> I have a project with Spatialite and Shapefile layers and I found that
>> it's around 7times slower to render in the current test version than
>> in 2.2.
>>
>> The project is online, so you can try it yourself:
>> https://drive.google.com/folderview?id=0Bwc-5JFVTnfIZkZOM3Y0Um9jOHc&usp=sharing
>>
>> I've tried different rendering options including parallel rendering
>> but found no way to improve the rendering speed in Testing.
>>
>> I'd love to know if it's a general problem or if I have misconfigured 
>> something.
>>
>> Best wishes,
>> Anita
>> ___
>> Qgis-developer mailing list
>> Qgis-developer@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-17 Thread Martin Dobias
Hi Anita

I am a bit late to join the discussion, but anyway... I cannot really
replicate the slowness you are experiencing. I can see some slowdown
which I assume is mainly related to the labeling - in 2.4 there have
been some changes that will likely slow down labeling even more - e.g.
checking of validity of polygons (due to issues with invalid polygons
from simplification) and the subsequent fixing with buffer.

For a good comparison, I would suggest to have a look where the
slowness really comes from. Apart from labeling, there could be many
more factors affecting the speed - data-defined symbology, expressions
in rule-based renderer, used symbol layers, reprojections etc.

Generally speaking, we should try to handle the performance
regressions more seriously - in the process of adding new features it
is easy to introduce something that negatively affects the rendering
speed. Radim has done some effort to build a benchmarking system for
QGIS some time ago, maybe it is time to bring it back to life and
start watching it more closely.

Btw. nice project for testing purposes. The multipolygons layer
contains a bunch of invalid geometries, it helped to find bugs in some
of the new features :-)

Regards
Martin



On Sun, Jun 1, 2014 at 7:49 PM, Anita Graser  wrote:
> Hi,
>
> I have a project with Spatialite and Shapefile layers and I found that
> it's around 7times slower to render in the current test version than
> in 2.2.
>
> The project is online, so you can try it yourself:
> https://drive.google.com/folderview?id=0Bwc-5JFVTnfIZkZOM3Y0Um9jOHc&usp=sharing
>
> I've tried different rendering options including parallel rendering
> but found no way to improve the rendering speed in Testing.
>
> I'd love to know if it's a general problem or if I have misconfigured 
> something.
>
> Best wishes,
> Anita
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Bo Victor Thomsen

I've delved a little bit further into the matter:

Anita's original project is a 2.2 project. If you convert the project to 
version 2.4 by simply saving it and then open the new version 2.4 
project the time to open it is reduced to 6.0 sec. Every time.


So the delays is due to QGIS 2.3 opening a version 2.2 project.

Regards
Bo Victor Thomsen
Aestas-GIS
Denmark


Den 03-06-2014 17:14, Bo Victor Thomsen skrev:

Hi Anita -

I've just tried your project on my win8 pc with QGIS 2.3 32 bit and 
compared it with my QGIS 2.0 set-up on the same pc:


Start-up times for the "annecy" project (QGIS already started with an 
empty project):


  * QGIS 2.0: 6.7 sec. every time.
  * QGIS 2.3: 1. time 6.9 sec.; 2. time: 7.5 sec.; 3. time: 8.4 sec.
 7. time: 11.9 sec. I've loaded an empty project between each
iteration.

It takes between 0.6 -  0.9 sec. longer for each reload of the 
project. If I restart QGIS and load the "annecy" project the load time 
falls to 6.9 sec. again.


The QGIS Code revision number is  ca6d4d9.

Regards
Bo Victor Thomsen
Aestas-GIS
Denmark



Den 03-06-2014 14:21, Anita Graser skrev:

Hi Giovanni,

On Tue, Jun 3, 2014 at 12:57 PM, Giovanni Manghi
  wrote:

On Mon, Jun 2, 2014 at 6:38 AM, Anita Graser  wrote:

Hi Giovanni.
I just counted until the map was done rendering: 3 versus approx 21 seconds.

What I see is the following:

on Linux (physical machine) your project opens really fast (~3
seconds) on qgis master

on Windows (virtual machine) the project opens in 7/8 seconds, on both
2.2 and master (there is may be a little difference between the two,
but not as big as your are seeing).

Thanks for your feedback. I'll check a second windows machine, maybe I
just screwed up something on the Win8 machine to cause these huge
differences.

Maybe you could send me a screenshot of the rendering options you are using?

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer




___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Giovanni Manghi
> Thanks Giovanni! I tried with today's OSGeo4W version and the issue
> does not appear anymore.

nice


> > while testing your project I also notices another thing that I had
> > never noticed before (strange): If a layer has labels then is always
> > refreshed when activating/deactivating another layer. Seems a bug to
> > me, what do you think about?
>
> I guess that should depend on whether the removed layer has labels or
> not, right?


it happens regardless if the activated/deactivated/removed layer has
labels or not.


cheers!
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Anita Graser
On Tue, Jun 3, 2014 at 7:39 PM, Giovanni Manghi
 wrote:
> Hi Anita,
> attached the screenshot.

Thanks Giovanni! I tried with today's OSGeo4W version and the issue
does not appear anymore.

> while testing your project I also notices another thing that I had
> never noticed before (strange): If a layer has labels then is always
> refreshed when activating/deactivating another layer. Seems a bug to
> me, what do you think about?

I guess that should depend on whether the removed layer has labels or
not, right?

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Bo Victor Thomsen

Hi Anita -

I've just tried your project on my win8 pc with QGIS 2.3 32 bit and 
compared it with my QGIS 2.0 set-up on the same pc:


Start-up times for the "annecy" project (QGIS already started with an 
empty project):


 * QGIS 2.0: 6.7 sec. every time.
 * QGIS 2.3: 1. time 6.9 sec.; 2. time: 7.5 sec.; 3. time: 8.4 sec.
    7. time: 11.9 sec. I've loaded an empty project between each
   iteration.

It takes between 0.6 -  0.9 sec. longer for each reload of the project. 
If I restart QGIS and load the "annecy" project the load time falls to 
6.9 sec. again.


The QGIS Code revision number is  ca6d4d9.

Regards
Bo Victor Thomsen
Aestas-GIS
Denmark



Den 03-06-2014 14:21, Anita Graser skrev:

Hi Giovanni,

On Tue, Jun 3, 2014 at 12:57 PM, Giovanni Manghi
 wrote:

On Mon, Jun 2, 2014 at 6:38 AM, Anita Graser  wrote:

Hi Giovanni.
I just counted until the map was done rendering: 3 versus approx 21 seconds.

What I see is the following:

on Linux (physical machine) your project opens really fast (~3
seconds) on qgis master

on Windows (virtual machine) the project opens in 7/8 seconds, on both
2.2 and master (there is may be a little difference between the two,
but not as big as your are seeing).

Thanks for your feedback. I'll check a second windows machine, maybe I
just screwed up something on the Win8 machine to cause these huge
differences.

Maybe you could send me a screenshot of the rendering options you are using?

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Luca Manganelli
On Tue, Jun 3, 2014 at 2:21 PM, Anita Graser  wrote:
> Thanks for your feedback. I'll check a second windows machine, maybe I
> just screwed up something on the Win8 machine to cause these huge
> differences.

Test with an empty QGIS profile (try to rename that folder in
%USERPROFILE%\.qgis2 )
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-03 Thread Anita Graser
Hi Giovanni,

On Tue, Jun 3, 2014 at 12:57 PM, Giovanni Manghi
 wrote:
> On Mon, Jun 2, 2014 at 6:38 AM, Anita Graser  wrote:
>> Hi Giovanni.
>> I just counted until the map was done rendering: 3 versus approx 21 seconds.
>
> What I see is the following:
>
> on Linux (physical machine) your project opens really fast (~3
> seconds) on qgis master
>
> on Windows (virtual machine) the project opens in 7/8 seconds, on both
> 2.2 and master (there is may be a little difference between the two,
> but not as big as your are seeing).

Thanks for your feedback. I'll check a second windows machine, maybe I
just screwed up something on the Win8 machine to cause these huge
differences.

Maybe you could send me a screenshot of the rendering options you are using?

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-01 Thread Giovanni Manghi
> I have a project with Spatialite and Shapefile layers and I found that
> it's around 7times slower to render in the current test version than
> in 2.2.
>
> The project is online, so you can try it yourself:
> https://drive.google.com/folderview?id=0Bwc-5JFVTnfIZkZOM3Y0Um9jOHc&usp=sharing
>
> I've tried different rendering options including parallel rendering
> but found no way to improve the rendering speed in Testing.
>
> I'd love to know if it's a general problem or if I have misconfigured 
> something.


Hi Anita,

here in my testing Windows VM I does not see any appreciable
difference between 2.2 and master. How did you measured the
differences?

cheers!

-- G --
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Testing/Master renders 7times slower than 2.2

2014-06-01 Thread Anita Graser
Hi,

I have a project with Spatialite and Shapefile layers and I found that
it's around 7times slower to render in the current test version than
in 2.2.

The project is online, so you can try it yourself:
https://drive.google.com/folderview?id=0Bwc-5JFVTnfIZkZOM3Y0Um9jOHc&usp=sharing

I've tried different rendering options including parallel rendering
but found no way to improve the rendering speed in Testing.

I'd love to know if it's a general problem or if I have misconfigured something.

Best wishes,
Anita
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer