When copying an image to the clipboard on current versions of WebKit on Mac OS X, there is an unnecessary NSImage allocation and call to TIFFRepresentation. This results in more memory and CPU time being used than is necessary (particularly for animated GIFs). I will be adding a patch for this shortly which will remove the NSImage allocation and TIFFRepresentation call. This is also somewhat related to bug 125868 and bug 131576.
Created attachment 267526 [details] Patch to reduce resource usage when copying image to clipboard.
Comment on attachment 267526 [details] Patch to reduce resource usage when copying image to clipboard. Why do I feel like I’ve seen this patch before?
Oh, I remember. It was in bug 125868.
Comment on attachment 267526 [details] Patch to reduce resource usage when copying image to clipboard. Clearing flags on attachment: 267526 Committed r194326: <http://trac.webkit.org/changeset/194326>
All reviewed patches have been landed. Closing bug.