On Thu, Sep 13, 2012 at 6:16 PM, Adam Barth <aba...@webkit.org> wrote:

> On Thu, Sep 13, 2012 at 5:13 PM, Adam Barth <aba...@webkit.org> wrote:
> > Another metric we have is for Blob.webkitSlice:
> >
> > Ratio of Blob.webkitSlice calls to Blob.slice: 14.87%
> > Ratio of Blob.webkitSlice calls to Document creation: 0.0053%
> >
> > It's difficult to know how to interpret this data because we don't
> > actually correlate calls to webkitSlice with Documents or Pages.
> > Instead, we just count the total number of calls across all Documents.
> >  This gives us an upper bound on how many Documents (or Pages) would
> > be affected by deleting Blob.webkitSlice, but doesn't measure that
> > information as accurately as the data we have for mutation events.
>
> Based on this data, I've posted a patch for removing Blob.webkitSlice
> in favor of Blob.slice:
>
> https://bugs.webkit.org/show_bug.cgi?id=96715
>
> Adam


So, worst case 53 out of a million pages calls webkitSlice.  But, it is
easy to imagine that that upper bound is crazy high, and more likely a
couple pages simply call webkitSlice a lot.  Also, given that there are so
many more calls to Blob.slice() one could imagine that sites that call
webkitSlice probably have fallback to Blob.slice().  Is this the hypothesis?

-Darin
_______________________________________________
webkit-dev mailing list
webkit-dev@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to