Hi list
A couple of weeks ago I posted a message regarding Inkscapes caching behaviour and also filed a bug report on launchpad (https://bugs.launchpad.net/inkscape/+bug/1267208). It turned out program response is far quicker with caching disabled in the source code. I'd happily provide a sample file or whatever is needed to visualize the described effect if requested.
I think Inkscapes user experience could be noticeably improved by some simple modifications (e.g. an option to turn off caching via GUI) but in my opinion the caching systems needs quite a bit of refactoring. Unfortunately I lack the necessary insight and experience on the program to come up with a proper solution myself. I would be willing to give it a shot though if someone could point me to a good resource on how caching is designed and implemented (and would be willing to review my changes).
With the new release coming closer I really hope somebody shows some interest in this. It does make a difference.
Thanks. Paul
On Mon, May 12, 2014, at 03:50 PM, Paul Kallnbach wrote:
Hi list
A couple of weeks ago I posted a message regarding Inkscapes caching behaviour and also filed a bug report on launchpad (https://bugs.launchpad.net/inkscape/+bug/1267208). It turned out program response is far quicker with caching disabled in the source code. I'd happily provide a sample file or whatever is needed to visualize the described effect if requested.
I think Inkscapes user experience could be noticeably improved by some simple modifications (e.g. an option to turn off caching via GUI) but in my opinion the caching systems needs quite a bit of refactoring. Unfortunately I lack the necessary insight and experience on the program to come up with a proper solution myself. I would be willing to give it a shot though if someone could point me to a good resource on how caching is designed and implemented (and would be willing to review my changes).
With the new release coming closer I really hope somebody shows some interest in this. It does make a difference.
Thanks Paul,
That looks very interesting, and like something I should look into very soon. I've been a bit sidelined by mac ports breaking the compile on my system, but should be tweaking up Linux dev this week.
Is this still a problem in recent revisions? Some time ago I turned off an unfinished feature where the cache would be scaled on zoom - this turned out to be very expensive.
Regards, Krzysztof
2014-05-13 0:50 GMT+02:00 Paul Kallnbach <p.kallnbach@...3067...>:
Hi list
A couple of weeks ago I posted a message regarding Inkscapes caching behaviour and also filed a bug report on launchpad (https://bugs.launchpad.net/inkscape/+bug/1267208). It turned out program response is far quicker with caching disabled in the source code. I'd happily provide a sample file or whatever is needed to visualize the described effect if requested.
I think Inkscapes user experience could be noticeably improved by some simple modifications (e.g. an option to turn off caching via GUI) but in my opinion the caching systems needs quite a bit of refactoring. Unfortunately I lack the necessary insight and experience on the program to come up with a proper solution myself. I would be willing to give it a shot though if someone could point me to a good resource on how caching is designed and implemented (and would be willing to review my changes).
With the new release coming closer I really hope somebody shows some interest in this. It does make a difference.
Thanks. Paul
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
El mar, 13-05-2014 a las 03:15 +0200, Krzysztof Kosiński escribió:
Is this still a problem in recent revisions? Some time ago I turned off an unfinished feature where the cache would be scaled on zoom - this turned out to be very expensive.
Regards, Krzysztof
Hi Krzysztof: I was affected by the bug you mention, which is fixed. I think I know what Paul is talking about. It's not exactly a performance issue, but the visual feedback of the canvas redrawing when a large object exceeds the view area. It's probably only a perceived performance issue, because the time it takes to have the whole viewing area re-painted and usable is about the same with and without cache, but the screen tearing present *during panning* when cache is on can be perceived as a performance problem.
I used to think it was a performance issue, but some time ago su_v helped me to understant the problem, and in the process I created a screencast and a minimum file to show the differences.
https://dl.dropboxusercontent.com/u/255376/nocache-vs-cache.webm
https://dl.dropboxusercontent.com/u/255376/cache-tearing-sample.svg
Apparently it's caused by the object larger than the view area. If you remove it, panning the star only doesn't produce the tearing shown in the screencast.
Turning off cache *seems to* improve the situation, but that's not a good solution, since you also lose the good things cache offers (like snappier layer view toggles).
These files show the effect of cache on and off with a more complex file. https://dl.dropboxusercontent.com/u/255376/inkscape-panning-cache-disabled.w... https://dl.dropboxusercontent.com/u/255376/Inkscape-panning-cache-enabled.we...
Kind regards,
Gez.
participants (4)
-
Gez
-
Jon A. Cruz
-
Krzysztof Kosiński
-
Paul Kallnbach