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

Issue 18978012: [sql] Cleanup open and close error histograms. (Closed)

Created:
7 years, 5 months ago by Scott Hess - ex-Googler
Modified:
7 years, 5 months ago
CC:
chromium-reviews, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

[sql] Cleanup open and close error histograms. Cleanup open-time histograms to use the sparse framework so that extended histograms can be recorded - also add entries to the xml file. Add a histogram to track close-time failures. This should never fail, but if it is it probably leaks memory and file handles, and possibly locks. BUG=none Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213345

Patch Set 1 #

Patch Set 2 : Next time, compile _before_ uploading. #

Total comments: 1

Patch Set 3 : Remove TODO that is done, rebase. #

Patch Set 4 : git-cl-upload said I should do so. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -12 lines) Patch
M sql/connection.cc View 1 2 4 chunks +20 lines, -12 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Scott Hess - ex-Googler
Bit of a loose-ends cleanup.
7 years, 5 months ago (2013-07-15 17:40:03 UTC) #1
erikwright (departed)
I've never heard of SPARSE_SLOWLY and it seems to be undocumented... If you know what ...
7 years, 5 months ago (2013-07-17 17:08:56 UTC) #2
Scott Hess - ex-Googler
On 2013/07/17 17:08:56, erikwright wrote: > I've never heard of SPARSE_SLOWLY and it seems to ...
7 years, 5 months ago (2013-07-17 17:21:25 UTC) #3
jar (doing other things)
Shess' description is on target. Sparse histograms use a stl::map<>, which means they are "slower," ...
7 years, 5 months ago (2013-07-17 23:52:22 UTC) #4
Scott Hess - ex-Googler
OK, we all good? Pinging Erik for sql/, Jim for histograms.xml. Jim, would you mind ...
7 years, 5 months ago (2013-07-22 17:57:39 UTC) #5
erikwright (departed)
sql/ LGTM.
7 years, 5 months ago (2013-07-22 18:15:36 UTC) #6
Scott Hess - ex-Googler
Jim, did histograms.xml change look good? Thanks.
7 years, 5 months ago (2013-07-23 19:12:41 UTC) #7
jar (doing other things)
histograms.xml LGTM If you want to add comments regarding use of sparse histograms to the ...
7 years, 5 months ago (2013-07-24 02:43:55 UTC) #8
Scott Hess - ex-Googler
On 2013/07/24 02:43:55, jar wrote: > If you want to add comments regarding use of ...
7 years, 5 months ago (2013-07-24 03:14:37 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shess@chromium.org/18978012/18001
7 years, 5 months ago (2013-07-24 03:16:18 UTC) #10
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 05:04:31 UTC) #11
Message was sent while issue was closed.
Change committed as 213345

Powered by Google App Engine
This is Rietveld 408576698