Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(206)

Issue 2676403003: IndexedDB: Add histograms for key type (Closed)

Created:
3 years, 10 months ago by jsbell
Modified:
3 years, 10 months ago
Reviewers:
haraken, Mark P, cmumford
CC:
chromium-reviews, asvitkine+watch_chromium.org, blink-reviews-bindings_chromium.org, cmumford, blink-reviews, kinuko+watch, jsbell+idb_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

IndexedDB: Add histograms for key type Gather the type of key computed when adding records to object stores, primarily to gauge usage of array keys (which are not implemented in all browsers). BUG=689211 R=mpearson@chromium.org,cmumford@chromium.org Review-Url: https://codereview.chromium.org/2676403003 Cr-Commit-Position: refs/heads/master@{#449427} Committed: https://chromium.googlesource.com/chromium/src/+/b5af6809340d677b2121a294321cb6e32d94a0b4

Patch Set 1 #

Total comments: 5

Patch Set 2 : Record index key types too #

Total comments: 6

Patch Set 3 : Incorporate review feedback #

Total comments: 1

Patch Set 4 : Tweak include orders, maybe? #

Total comments: 1

Patch Set 5 : Leave number off enum max #

Unified diffs Side-by-side diffs Delta from patch set Stats (+68 lines, -14 lines) Patch
M third_party/WebKit/Source/bindings/modules/v8/V8BindingForModules.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBKey.h View 1 2 3 4 1 chunk +8 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBKey.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp View 1 2 3 5 chunks +28 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/web/WebIDBKey.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 2 chunks +29 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (10 generated)
jsbell
mpearson@ - can you review histograms? cmumford@ - can you review the Indexed DB changes? ...
3 years, 10 months ago (2017-02-07 00:34:39 UTC) #5
Mark P
https://codereview.chromium.org/2676403003/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBKey.h File third_party/WebKit/Source/modules/indexeddb/IDBKey.h (right): https://codereview.chromium.org/2676403003/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBKey.h#newcode66 third_party/WebKit/Source/modules/indexeddb/IDBKey.h:66: // Also used for UMA. Append only. Please follow ...
3 years, 10 months ago (2017-02-07 19:12:22 UTC) #6
jsbell
Thanks mpearson@ ! https://codereview.chromium.org/2676403003/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBKey.h File third_party/WebKit/Source/modules/indexeddb/IDBKey.h (right): https://codereview.chromium.org/2676403003/diff/20001/third_party/WebKit/Source/modules/indexeddb/IDBKey.h#newcode66 third_party/WebKit/Source/modules/indexeddb/IDBKey.h:66: // Also used for UMA. Append ...
3 years, 10 months ago (2017-02-07 19:54:57 UTC) #8
cmumford
lgtm % nits. https://codereview.chromium.org/2676403003/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp (right): https://codereview.chromium.org/2676403003/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp#newcode28 third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp:28: #include <v8.h> I think it was ...
3 years, 10 months ago (2017-02-07 20:10:38 UTC) #10
jsbell
https://codereview.chromium.org/2676403003/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp File third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp (right): https://codereview.chromium.org/2676403003/diff/1/third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp#newcode28 third_party/WebKit/Source/modules/indexeddb/IDBObjectStore.cpp:28: #include <v8.h> On 2017/02/07 20:10:37, cmumford wrote: > I ...
3 years, 10 months ago (2017-02-07 21:58:24 UTC) #11
Mark P
histograms.xml lgtm https://codereview.chromium.org/2676403003/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/2676403003/diff/1/tools/metrics/histograms/histograms.xml#newcode93712 tools/metrics/histograms/histograms.xml:93712: + <int value="0" label="Invalid">Invalid key.</int> On 2017/02/07 ...
3 years, 10 months ago (2017-02-07 22:59:46 UTC) #12
haraken
bindings LGTM
3 years, 10 months ago (2017-02-07 23:53:37 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2676403003/80001
3 years, 10 months ago (2017-02-09 20:04:13 UTC) #16
commit-bot: I haz the power
3 years, 10 months ago (2017-02-09 21:53:03 UTC) #19
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/b5af6809340d677b2121a294321c...

Powered by Google App Engine
This is Rietveld 408576698