Le 17 mars 09 à 12:10, Frank Niessink a écrit :

> Hi Clemens,
>
> 2009/3/17 Clemens Anhuth <[email protected]>:
> >
> > Hello.
> >
> > I have about 100 tasks in the Tree of tasks ordered by priority.
> > Changing the priority of one or more of the tasks results in  
> changing
> > the position, like it should. However, it takes 2 to 3 seconds for  
> these
> > changes to become visible. And looking at Process Explorer this
> > operation seems to consume plenty of CPU time.
>
> I think that this is mostly due to two reasons: the internal
> notifications (notifyObserver calls) that have to be done, and the
> updating of the TreeListCtrl that I suspect is particularly slow. So I
> don't think it is platform specific. Detailed profiling would be
> welcome!
>
Indeed, I can see the same things under Linux. Since my typical task  
file only contains ~80 tasks it's not blocking for me, but if I reset  
the filters and show the 600+ completed tasks... :(

I fiddled with Freeze/Thaw in the TreeViewer, but it didn't change  
anything. I'm pretty sure that the root problem is the notifications.  
I also tried psyco but to no avail. I think I'll play a bit with this  
this week-end.

Reply via email to