[Kst] [PATCH] Make plugins faster

George Staikos staikos at kde.org
Fri Nov 5 23:21:39 CET 2004


On Friday 05 November 2004 16:04, Barth Netterfield wrote:
> *If* we can show that it is a significant speedup (>~30%) in at least some
> cases, then, given the long RC1 time scale, I think it can go in. 
> Planck-HFI is by far the most intense plugin user right now, and if they
> need it, they are going to use it, whether we branch before or after the
> change.  And if they use it, then they are certainly going to test it over
> the next couple weeks.  The changes are well isolated and easily revertable
> if we find troubles.

    Here's the best performance information I can gain:
1) At the beginning, performance gain is about 35%.
2) Over time, performance gain goes to 0% on realtime data, naturally, since 
the computation time becomes most significant.
3) The real benefits are in situations of multiple plugins since an update 
will do loads of malloc/free.
4) It also helps keep the UI responsive since malloc lock contention drops and 
UI events cause loads of mallocs.

  I see both sides to the argument equally.  I'm hoping someone will make the 
call for me. :)

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/




More information about the Kst mailing list