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

Issue 12209085: Add histograms to track localStorage size and load time by size. (Closed)

Created:
7 years, 10 months ago by willchan no longer on Chromium
Modified:
7 years, 10 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Add histograms to track localStorage size and load time by size. I'm concerned that the original histograms are skewed by sample bias, since most localStorage DBs are probably small. Also introduce browser and renderer specific histograms. Kept the original histogram for the renderer one in order to maintain histogram data continuity. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=181855

Patch Set 1 #

Total comments: 8

Patch Set 2 : Add browser histograms and rename to clarify buckets. #

Total comments: 2

Patch Set 3 : Oops, add without TCP. #

Patch Set 4 : use |map_| directly #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -1 line) Patch
M webkit/dom_storage/dom_storage_area.cc View 1 2 chunks +26 lines, -0 lines 0 comments Download
M webkit/dom_storage/dom_storage_cached_area.cc View 1 2 3 1 chunk +25 lines, -1 line 0 comments Download

Messages

Total messages: 10 (0 generated)
willchan no longer on Chromium
Michael to review, added Jim in case he has advice on how to better use ...
7 years, 10 months ago (2013-02-10 05:53:55 UTC) #1
jar (doing other things)
I'm not an owner in this area... and my LGTM with nits may be of ...
7 years, 10 months ago (2013-02-11 19:27:51 UTC) #2
michaeln
https://codereview.chromium.org/12209085/diff/1/webkit/dom_storage/dom_storage_cached_area.cc File webkit/dom_storage/dom_storage_cached_area.cc (right): https://codereview.chromium.org/12209085/diff/1/webkit/dom_storage/dom_storage_cached_area.cc#newcode166 webkit/dom_storage/dom_storage_cached_area.cc:166: // above what we see in practice, since histograms ...
7 years, 10 months ago (2013-02-12 00:38:15 UTC) #3
willchan no longer on Chromium
https://codereview.chromium.org/12209085/diff/1/webkit/dom_storage/dom_storage_cached_area.cc File webkit/dom_storage/dom_storage_cached_area.cc (right): https://codereview.chromium.org/12209085/diff/1/webkit/dom_storage/dom_storage_cached_area.cc#newcode166 webkit/dom_storage/dom_storage_cached_area.cc:166: // above what we see in practice, since histograms ...
7 years, 10 months ago (2013-02-12 00:42:22 UTC) #4
michaeln
https://codereview.chromium.org/12209085/diff/1/webkit/dom_storage/dom_storage_cached_area.cc File webkit/dom_storage/dom_storage_cached_area.cc (right): https://codereview.chromium.org/12209085/diff/1/webkit/dom_storage/dom_storage_cached_area.cc#newcode166 webkit/dom_storage/dom_storage_cached_area.cc:166: // above what we see in practice, since histograms ...
7 years, 10 months ago (2013-02-12 01:17:12 UTC) #5
willchan no longer on Chromium
OK updated with browser histograms and bucket renaming.
7 years, 10 months ago (2013-02-12 01:48:41 UTC) #6
michaeln
lgtm! https://codereview.chromium.org/12209085/diff/1003/webkit/dom_storage/dom_storage_cached_area.cc File webkit/dom_storage/dom_storage_cached_area.cc (right): https://codereview.chromium.org/12209085/diff/1003/webkit/dom_storage/dom_storage_cached_area.cc#newcode165 webkit/dom_storage/dom_storage_cached_area.cc:165: size_t local_storage_size_kb = MemoryBytesUsedByCache() / 1024; could use ...
7 years, 10 months ago (2013-02-12 01:49:55 UTC) #7
willchan no longer on Chromium
done, thanks for the very quick reviews. sending to CQ. https://codereview.chromium.org/12209085/diff/1003/webkit/dom_storage/dom_storage_cached_area.cc File webkit/dom_storage/dom_storage_cached_area.cc (right): https://codereview.chromium.org/12209085/diff/1003/webkit/dom_storage/dom_storage_cached_area.cc#newcode165 ...
7 years, 10 months ago (2013-02-12 01:53:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/willchan@chromium.org/12209085/1005
7 years, 10 months ago (2013-02-12 01:55:21 UTC) #9
commit-bot: I haz the power
7 years, 10 months ago (2013-02-12 04:56:13 UTC) #10
Message was sent while issue was closed.
Change committed as 181855

Powered by Google App Engine
This is Rietveld 408576698