Slower snapping between 0.45 and devel
Hello everyone,
I noticed a non negligible difference in responsiveness between Inkscape 0.45 and current devel version on a "complex" (4000 objects) drawing... in the wrong way unfortunately (current devel is slower than 0.45). Since disabling snapping altogether in devel remedies to the slowness I think it involves snapping. I tried to test both version with the same parameters and selected these options (and only these): 0.45 snap nodes to objects snap to objects paths snap sensitivity 10 devel snap nodes snap to paths snap sensitivity 10 And the devel version is still slower than the released version. In fact it will hang for a little while (like 1-2 sec with 100% CPU usage) before first moving the objects, subsequent movements being a little bit faster (but still slower than 0.45).
Here is the file on which I remarked it, for you to test: http://jo.irisson.free.fr/dropbox/inkscape/slowSnapper.svg try selecting the text objects at the bottom and moving them for example.
Since I know the snapping code is begin worked on now, I thought I would report this. Thanks in advance for any improvements. Cheers,
JiHO --- http://jo.irisson.free.fr/
jiho wrote:
And the devel version is still slower than the released version. In fact it will hang for a little while (like 1-2 sec with 100% CPU usage) before first moving the objects, subsequent movements being a little bit faster (but still slower than 0.45).
It can even be worse: 1-2 minutes instead of seconds! This is for traced bitmaps having 10k nodes. A discussion has already been started over here:
[ 1774456 ] Slow performance moving shapes over complex paths.
https://sourceforge.net/tracker/?func=detail&atid=604306&aid=1774456...
It is slower probably because I've implemented new features such as snapping to boundingboxes, to clones and to images. There is quite some room for improvement though, and I will start working on this before the end of the week (I'd first like to commit some changes related to the snapping of guides to objects). For the time being however, you might want to turn off snapping to paths, as this is probably the biggest performance hog.
Thanks for taking the time for reporting this. I'll get back to you on this later...
Diederik
participants (2)
-
Diederik van Lierop
-
jiho