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

Issue 1460603002: Add MemoryPurgeController.ReclaimedPartitionAllocInactiveTab (Closed)

Created:
5 years, 1 month ago by bashi
Modified:
5 years ago
Reviewers:
haraken, rkaplow
CC:
chromium-reviews, blink-reviews, 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 MemoryPurgeController.ReclaimedPartitionAllocInactiveTab This UMA reports how much memory did MemoryPurgeController reclaim. BUG=519146 Committed: https://crrev.com/49692720596605040ae77fdf2fa28e18d1114eeb Cr-Commit-Position: refs/heads/master@{#361284}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -0 lines) Patch
M third_party/WebKit/Source/platform/MemoryPurgeController.cpp View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 25 (9 generated)
bashi
WDYT about adding this UMA?
5 years, 1 month ago (2015-11-18 03:18:18 UTC) #2
haraken
LGTM https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml#newcode19480 tools/metrics/histograms/histograms.xml:19480: +<histogram name="Memory.RendererInactiveTabReclaimed" units="KB"> Shall we rename this to ...
5 years, 1 month ago (2015-11-18 03:45:40 UTC) #3
bashi
https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml#newcode19480 tools/metrics/histograms/histograms.xml:19480: +<histogram name="Memory.RendererInactiveTabReclaimed" units="KB"> On 2015/11/18 03:45:39, haraken wrote: > ...
5 years, 1 month ago (2015-11-18 04:50:19 UTC) #4
haraken
On 2015/11/18 04:50:19, bashi1 wrote: > https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml > File tools/metrics/histograms/histograms.xml (right): > > https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml#newcode19480 > ...
5 years, 1 month ago (2015-11-18 04:52:42 UTC) #5
bashi
On 2015/11/18 04:52:42, haraken wrote: > On 2015/11/18 04:50:19, bashi1 wrote: > > > https://codereview.chromium.org/1460603002/diff/1/tools/metrics/histograms/histograms.xml ...
5 years, 1 month ago (2015-11-18 05:05:41 UTC) #8
rkaplow
https://codereview.chromium.org/1460603002/diff/20001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp File third_party/WebKit/Source/platform/MemoryPurgeController.cpp (right): https://codereview.chromium.org/1460603002/diff/20001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp#newcode58 third_party/WebKit/Source/platform/MemoryPurgeController.cpp:58: Platform::current()->histogramEnumeration("MemoryPurgeController.ReclaimedPartitionAllocInactiveTab", reclaimedInKB, maxSizeInKB); this isn't the correct histogram method ...
5 years, 1 month ago (2015-11-18 16:08:00 UTC) #9
bashi
https://codereview.chromium.org/1460603002/diff/20001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp File third_party/WebKit/Source/platform/MemoryPurgeController.cpp (right): https://codereview.chromium.org/1460603002/diff/20001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp#newcode58 third_party/WebKit/Source/platform/MemoryPurgeController.cpp:58: Platform::current()->histogramEnumeration("MemoryPurgeController.ReclaimedPartitionAllocInactiveTab", reclaimedInKB, maxSizeInKB); On 2015/11/18 16:08:00, rkaplow wrote: > ...
5 years, 1 month ago (2015-11-19 23:16:36 UTC) #10
rkaplow
lgtm https://codereview.chromium.org/1460603002/diff/40001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp File third_party/WebKit/Source/platform/MemoryPurgeController.cpp (right): https://codereview.chromium.org/1460603002/diff/40001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp#newcode58 third_party/WebKit/Source/platform/MemoryPurgeController.cpp:58: Platform::current()->histogramCustomCounts("MemoryPurgeController.ReclaimedPartitionAllocInactiveTab", reclaimedInKB, 0, maxSizeInKB, 50); usually should be ...
5 years, 1 month ago (2015-11-20 23:13:46 UTC) #11
bashi
https://codereview.chromium.org/1460603002/diff/40001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp File third_party/WebKit/Source/platform/MemoryPurgeController.cpp (right): https://codereview.chromium.org/1460603002/diff/40001/third_party/WebKit/Source/platform/MemoryPurgeController.cpp#newcode58 third_party/WebKit/Source/platform/MemoryPurgeController.cpp:58: Platform::current()->histogramCustomCounts("MemoryPurgeController.ReclaimedPartitionAllocInactiveTab", reclaimedInKB, 0, maxSizeInKB, 50); On 2015/11/20 23:13:46, rkaplow ...
5 years, 1 month ago (2015-11-24 00:31:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460603002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460603002/60001
5 years, 1 month ago (2015-11-24 00:38:59 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133274)
5 years, 1 month ago (2015-11-24 03:38:38 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460603002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460603002/60001
5 years, 1 month ago (2015-11-24 03:50:45 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133482)
5 years, 1 month ago (2015-11-24 05:29:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1460603002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1460603002/60001
5 years, 1 month ago (2015-11-24 07:41:20 UTC) #23
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-24 08:15:12 UTC) #24
commit-bot: I haz the power
5 years ago (2015-11-24 08:16:11 UTC) #25
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/49692720596605040ae77fdf2fa28e18d1114eeb
Cr-Commit-Position: refs/heads/master@{#361284}

Powered by Google App Engine
This is Rietveld 408576698