[webkit-dev] Removing webkitSlice (was Re: Existing metrics for deprecated features)

Adam Barth abarth at webkit.org
Thu Sep 13 18:16:15 PDT 2012


On Thu, Sep 13, 2012 at 5:13 PM, Adam Barth <abarth at 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


More information about the webkit-dev mailing list