[Webkit-unassigned] [Bug 107772] Adds usage instrumentation for indexedDB

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 29 11:36:54 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=107772





--- Comment #12 from Alec Flett <alecflett at chromium.org>  2013-01-29 11:38:53 PST ---
(From update of attachment 185159)
So I want to point out that you're adding histograms in the backend code, which does not necessarily have a 1:1 relationship with the frontend API calls. If you're interested in instrumenting Javascript API usage, this isn't the way.

For example, things like IDBBackingStore::Transaction::commit may or may not correspond directly with a frontend commit - for instance readonly transactions may never commit (I'm not sure if they do or do not right now) and internal changes to IDB (like internal version changes between chrome releases) may or may not result in a commit.

In addition, as the code changes and evolves, there may be caching layers between the layer you are instrumenting and the frontend APIs.

My suggestion would be to instrument the frontend (i.e. stuff like IDBTransaction.cpp and IDBObjectStore.cpp) and avoid anything in the backend. (i.e. IDBBackingStore* and IDB*BackendI*)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list