[Chandler-dev] Pre-loading items as a performance optimization

Reid Ellis rae at osafoundation.org
Wed Oct 4 10:54:23 PDT 2006


On Oct 4, 2006, at 13:47, Ted Leung wrote:
> On Oct 4, 2006, at 10:03 AM, Morgen Sagen wrote:
>> My thought was that if we could generate occurrences and/or load  
>> relevant items from the next and previous weeks in the background  
>> (Andi suggested OnIdle), that could save some time when the user  
>> clicks the week navigation arrows.  Does anyone see any pitfalls  
>> in this approach?  Is it possible to load items into the main  
>> repository view from another thread?  Also, I would need some  
>> guidance in determining exactly which items need to be pre-loaded.
>
> I'm concerned that this optimization is specific to the week view,  
> and that having item preloading happening in the background will  
> acutally penalize the user if they are looking at  the dashboard  
> not the week view.    As the app grows, the number of different  
> paths through the UI will increase, which makes preloading harder,  
> because there are more possible future paths to "predict".
>
> Ted

I would expect this background loading to only happen when the  
current view is the week view.

Reid



More information about the chandler-dev mailing list