Bug #3206

Performance issue

Added by Jean-Claude Repetto over 2 years ago. Updated over 2 years ago.

Status:Resolved Start Date:12/20/2010
Priority:High Due date:
Assigned to:- % Done:

100%

Category:-
Target version:-
Resolution:

Description

The current (17 december 2010) trunk version is very slow (about 40 times slower than a mid-october version). For example, dragging a node takes from 8 to 10 seconds, while with an older version it took a fraction of second.
I used "git bisect" to check the exact version where the problem appeared :

aef25d136e1b7cb2858027356b32a71ea821d97b is the first bad commit
commit aef25d136e1b7cb2858027356b32a71ea821d97b
Author: Chris "Koying" Browet <>
Date: Mon Nov 1 03:31:55 2010 +0100

Spatialite cont'd
Do not self-clip QpainterPath anymore

sigale.mdc (1.1 MB) Jean-Claude Repetto, 12/20/2010 02:46 pm

History

Updated by Chris Browet over 2 years ago

I've send a general message to the list regarding this.

Could you attach a small MDC exhibiting obviously the problem, please.

Updated by Chris Browet over 2 years ago

Meanwhile, I've added a '--selfclip' execution command-line option that should bypass the issue. Could you give it a shot, please.

Updated by Jean-Claude Repetto over 2 years ago

I have exactly the same problem on my 64 bits Linux system (except that it more powerful, so the delay is about 3 seconds).
The library versions are :
QT 4.6.3
Nvidia drivers 195.36.31
Boost 1.41
PROJ 4.7.0
GDAL 1.7.3

The '--selfclip' option is not working (maybe you haven't pushed your changes into the repository ?).

I have attached the .mdc I am using for the tests.

Updated by Chris Browet over 2 years ago

Jean-Claude Repetto wrote:

The '--selfclip' option is not working (maybe you haven't pushed your changes into the repository ?).

Oops. Now done.

Updated by Jean-Claude Repetto over 2 years ago

Unfortunately, the --selfclip option doesn't solve the problem.

Updated by Chris Browet over 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Updated by Chris Browet over 2 years ago

The "--selfclip" will be set to true unless Qt >= 4.7.1, so you shouldn't need it...

Also available in: Atom PDF