We currently render rounded-corner color backgrounds via setting a clipping path and then filling the rect. This is slow in CG; it's better to just create a path for the rounded rect and fill it.
Created attachment 88094 [details] Patch
http://trac.webkit.org/changeset/82969
<rdar://problem/9042985>