Speed of Krita 2.4

Cyrille Berger cberger at cberger.net
Sat Jul 30 15:23:13 CEST 2011


On Sat, Jul 30, 2011 at 07:31:31AM -0400, JL VT wrote:
> Hhhm... I couldn't help but notice a huge amount of calls to debug classes
> in the 2.4 callgrind log. So I went and compiled it with the Release flag
> instead of Debug. _HUGE_ difference, huge. So huge that I feel silly even
> for writing this e-mail   =)    now Krita feels close to the same speed as
> 2.3.   (And then, after that, I saw DmitryK's e-mail warning me of the same,
> ugh, silly me).
> 
> So I've been using the Debug build all this time, because I like to catch
> asserts and have full backtracks, now I think I should compile a KritaDevs
> build for that instead.
> I'm not sure if the steady decline in speed that I've noticed in Debug means
> anything for Krita Release, because I used to paint with a Debug build just
> fine, and now it's almost unusable, but I'm going to find out!.

Well it is not so much debug class... but Debug in KDE means -O0, it means no
inline, no code optimisation at all, so yes it is unsanely slow.

That said we currently have a speed problem with small brush on KritaDev mode.

-- 
Cyrille Berger



More information about the kimageshop mailing list