[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Speed of Krita 2.4
From:       Ramón_Miranda <mirandagraphic () gmail ! com>
Date:       2011-08-02 18:11:41
Message-ID: CAJ6UeU+RpG4P=fWGwmDi9LLYrf60dXpOFQ2XvFRFL+YA=gOOFw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi how i can use this file?

2011/8/2 Sven Langkamp <sven.langkamp@gmail.com>

> On Mon, Aug 1, 2011 at 11:42 PM, Sven Langkamp <sven.langkamp@gmail.com>wrote:
>
>> On Sat, Jul 30, 2011 at 11:41 AM, Silvio Heinrich <plassy@web.de> wrote:
>>
>>> Am 29.07.2011 23:30, schrieb JL VT:
>>> > I don't know how fast Krita is in the other branches (I haven't tested)
>>> > however I'd like to ask if there's a good date to start feeling really
>>> > worried about speed?, I don't want 2.4 to be a single bit slower than
>>> > 2.3, so I'd like to start hacking to try to find where our current
>>> > bottlenecks are; but I don't know which parts deep in Krita to touch
>>> > without stepping on other developer's toes, moreover, my fears may be
>>> > unfounded, maybe we're just a couple weeks shy of a branch merge
>>> solving
>>> > all these problems, but, again, I haven't kept up enough with our IRC
>>> > backlogs and Krita branches to be sure.
>>> >
>>> > Should I be worried?.
>>> >
>>> > Is there an upcoming branch I should be testing to help with the speed
>>> > bottlenecks instead?.
>>> >
>>>
>>> As far as I know we have two big bottle necks.
>>> The first is the creation and transformation (rotation, scaling) of the
>>> brush masks. The last time I profiled krita it spent 20-30% (I can't
>>> remember exactly anymore) of the whole processing time while painting
>>> with this operations.
>>>
>>
>>
>> Depends on which brush is used. Autobrush shows about 30% of the time in
>> processing the mask, but it's not using 100% cpu. I think there is another
>> bottleneck that callgrind doesn't show. Painting with predefined brushes
>> shows a big performance bottleneck in scaling the brush (callgrind file:
>> http://depot.tu-dortmund.de/get/syvg6 ) in the stroke benchmark. There is
>> a single method that takes most of the time, so that should be the first
>> target when trying to speed up things.
>>
>
> I have attached a patch that turns off interpolation. It should give about
> double the performance when painting with predefined brushes. Can the
> artists here check how big the impact on quality is?
>
> _______________________________________________
> kimageshop mailing list
> kimageshop@kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>
>


-- 
_______________________________________
Ramón Miranda
www.ramonmiranda.com
GPS project
http://code.google.com/p/gps-gimp-paint-studio/

[Attachment #5 (text/html)]

<br>Hi how i can use this file?<br><br><div class="gmail_quote">2011/8/2 Sven \
Langkamp <span dir="ltr">&lt;<a \
href="mailto:sven.langkamp@gmail.com">sven.langkamp@gmail.com</a>&gt;</span><br><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;"> <div class="gmail_quote">On Mon, Aug 1, 2011 at 11:42 \
PM, Sven Langkamp <span dir="ltr">&lt;<a href="mailto:sven.langkamp@gmail.com" \
target="_blank">sven.langkamp@gmail.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;">

<div class="gmail_quote"><div>On Sat, Jul 30, 2011 at 11:41 AM, Silvio Heinrich <span \
dir="ltr">&lt;<a href="mailto:plassy@web.de" \
target="_blank">plassy@web.de</a>&gt;</span> wrote:<br></div><div><blockquote \
class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, \
204, 204); padding-left: 1ex;">


Am 29.07.2011 23:30, schrieb JL VT:<br>
<div>&gt; I don&#39;t know how fast Krita is in the other branches (I haven&#39;t \
tested)<br> &gt; however I&#39;d like to ask if there&#39;s a good date to start \
feeling really<br> &gt; worried about speed?, I don&#39;t want 2.4 to be a single bit \
slower than<br> &gt; 2.3, so I&#39;d like to start hacking to try to find where our \
current<br> &gt; bottlenecks are; but I don&#39;t know which parts deep in Krita to \
touch<br> &gt; without stepping on other developer&#39;s toes, moreover, my fears may \
be<br> &gt; unfounded, maybe we&#39;re just a couple weeks shy of a branch merge \
solving<br> &gt; all these problems, but, again, I haven&#39;t kept up enough with \
our IRC<br> &gt; backlogs and Krita branches to be sure.<br>
&gt;<br>
&gt; Should I be worried?.<br>
&gt;<br>
&gt; Is there an upcoming branch I should be testing to help with the speed<br>
&gt; bottlenecks instead?.<br>
&gt;<br>
<br>
</div>As far as I know we have two big bottle necks.<br>
The first is the creation and transformation (rotation, scaling) of the<br>
brush masks. The last time I profiled krita it spent 20-30% (I can&#39;t<br>
remember exactly anymore) of the whole processing time while painting<br>
with this operations.<br></blockquote></div><div><br><br>Depends on which brush is \
used. Autobrush shows about 30% of the  time in processing the mask, but it&#39;s not \
using 100% cpu. I think there  is another bottleneck that callgrind doesn&#39;t show. \
Painting with  predefined brushes shows a big performance bottleneck in scaling the 
brush (callgrind file: <br>
      <a href="http://depot.tu-dortmund.de/get/syvg6" \
target="_blank">http://depot.tu-dortmund.de/get/syvg6</a>  ) in the stroke benchmark. \
There is a single method  that takes most of the time, so that should be the first \
target when  trying to speed up things.<br></div></div></blockquote></div><br>I have \
attached a patch that turns off interpolation. It should give about double the \
performance when painting with predefined brushes. Can the artists here check how big \
the impact on quality is?<br>

<br>_______________________________________________<br>
kimageshop mailing list<br>
<a href="mailto:kimageshop@kde.org">kimageshop@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kimageshop" \
target="_blank">https://mail.kde.org/mailman/listinfo/kimageshop</a><br> \
<br></blockquote></div><br><br clear="all"><br>-- \
<br>_______________________________________<br>Ramón Miranda<br><a \
href="http://www.ramonmiranda.com" target="_blank">www.ramonmiranda.com</a><br>GPS \
project<br><a href="http://code.google.com/p/gps-gimp-paint-studio/" \
target="_blank">http://code.google.com/p/gps-gimp-paint-studio/</a><br>



_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic