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

Issue 1270193002: Add new memory histograms which fix inprecise bucketing. (Closed)

Created:
5 years, 4 months ago by rkaplow
Modified:
5 years, 4 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add new memory histograms which fix inprecise bucketing. Current Memory.Total and Memory.Swap.Total had a cap of 1000M which is very easy to exceed (especially due to shared memory overestimate). BUG=516748 Committed: https://crrev.com/b8d7b276a310412e6bb1b12f6e46f1ddb1b24fa2 Cr-Commit-Position: refs/heads/master@{#341905}

Patch Set 1 #

Patch Set 2 : Odd whitespaceing in histograms.xml #

Patch Set 3 : Add TODO comments #

Total comments: 1

Patch Set 4 : fix the units of the new metrics #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -7 lines) Patch
M base/metrics/histogram_macros.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/metrics/metrics_memory_details.cc View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 2 chunks +30 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (2 generated)
rkaplow
As per an old internal discussion - will keep the old metrics around for a ...
5 years, 4 months ago (2015-08-04 18:30:21 UTC) #2
Alexei Svitkine (slow)
https://codereview.chromium.org/1270193002/diff/40001/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1270193002/diff/40001/tools/metrics/histograms/histograms.xml#newcode17302 tools/metrics/histograms/histograms.xml:17302: +<histogram name="Memory.Total2" units="MB"> Should the unit be MiB?
5 years, 4 months ago (2015-08-04 18:37:44 UTC) #3
rkaplow
On 2015/08/04 18:37:44, Alexei Svitkine wrote: > https://codereview.chromium.org/1270193002/diff/40001/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/1270193002/diff/40001/tools/metrics/histograms/histograms.xml#newcode17302 ...
5 years, 4 months ago (2015-08-04 19:50:26 UTC) #4
Alexei Svitkine (slow)
lgtm, but please wait other reviewers' look over as well
5 years, 4 months ago (2015-08-04 20:24:22 UTC) #5
kouhei (in TOK)
Would you add more CL description? How was the old bucketing "inprecise"? Probably: - The ...
5 years, 4 months ago (2015-08-05 02:54:24 UTC) #6
rkaplow
On 2015/08/05 02:54:24, kouhei wrote: > Would you add more CL description? How was the ...
5 years, 4 months ago (2015-08-05 03:16:17 UTC) #7
kouhei (in TOK)
On 2015/08/05 03:16:17, rkaplow wrote: > On 2015/08/05 02:54:24, kouhei wrote: > > Would you ...
5 years, 4 months ago (2015-08-05 03:41:30 UTC) #8
hajimehoshi
lgtm
5 years, 4 months ago (2015-08-05 04:10:28 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1270193002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1270193002/60001
5 years, 4 months ago (2015-08-05 14:16:59 UTC) #11
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-05 15:56:53 UTC) #12
commit-bot: I haz the power
5 years, 4 months ago (2015-08-05 15:57:50 UTC) #13
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b8d7b276a310412e6bb1b12f6e46f1ddb1b24fa2
Cr-Commit-Position: refs/heads/master@{#341905}

Powered by Google App Engine
This is Rietveld 408576698