On Jun 9, 2008, at 17:36, Adam R. Maxwell wrote:

> What did the profiles look like?  Was it memory or processor  
> intensive?
> I'm curious because I've observed tracking rects as a minor  
> performance
> hit on FileView as well, mainly due to Leopard creating a large number
> of temporary objects.

I tried profiling once but that didn't seem to turn up anything  
particularly insightful on first glance. There aren't any large spikes  
in CPU usage either. The real problem is with perceived performance  
more than anything else.

> Clever :).  Does it help at all to do something like [[OFMessageQueue
> mainQueue] queueSelectorOnce:... for rebuildTrackingRects?  That might
> be more future-proof.

I think that might help a bit but is still going to allow  
rebuildTrackingRects calls while a user is actively scrolling.   While  
rebuildTrackingRects is running, nothing else on the main thread can  
run and processing scroll events is significantly poorer. The worst  
case, in which scroll events and rebuildTrackingRects, would still be  
possible.

-Colin

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to