Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
- Subject: Re: Is QuickLook implemented upon CGImage or CGImageSource under the hood?
- From: Dave Keck <email@hidden>
- Date: Fri, 07 Sep 2012 03:12:13 -1000
In my experience I've found that QLThumbnailImageCreate()
significantly outperforms CGImageSourceCreateThumbnailAtIndex(). I
speculate that this is because QLThumbnailImageCreate() talks to a
daemon process that keeps thumbnails cached in memory even after your
process exits, rather than re-creating thumbnails from disk upon each
request.
Consider using the 'purge' command between your tests to get more
authentic benchmarks, and perhaps killing the Quick Look daemon.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden