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

Issue 1051353003: SDCH: add TimeWeightedMemoryUse (Closed)

Created:
5 years, 8 months ago by Elly Fong-Jones
Modified:
5 years, 7 months ago
CC:
chromium-reviews, cbentzel+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

SDCH: add TimeWeightedMemoryUse This histogram tracks the time-weighted memory use incurred by SDCH dictionaries. This histogram is measured in units of byte-seconds per second. BUG=465873 Committed: https://crrev.com/d5809f856236b6c7273470b4b7721269a083b148 Cr-Commit-Position: refs/heads/master@{#327342}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Improve test coverage #

Total comments: 6

Patch Set 3 : Change metric denominator #

Total comments: 2

Patch Set 4 : Record more exact creation time #

Total comments: 2

Patch Set 5 : Add missing .erase() #

Patch Set 6 : Histogram tweaks #

Patch Set 7 : Stop using CurrentProcessInfo #

Patch Set 8 : Don't divide by zero #

Patch Set 9 : Don't reset clock #

Unified diffs Side-by-side diffs Delta from patch set Stats (+157 lines, -61 lines) Patch
M net/sdch/sdch_owner.h View 1 2 3 2 chunks +58 lines, -0 lines 0 comments Download
M net/sdch/sdch_owner.cc View 1 2 3 4 5 6 7 8 10 chunks +45 lines, -56 lines 0 comments Download
M net/sdch/sdch_owner_unittest.cc View 1 2 3 4 5 6 6 chunks +45 lines, -5 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +9 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (18 generated)
Elly Fong-Jones
ptal?
5 years, 8 months ago (2015-04-02 21:38:20 UTC) #2
Randy Smith (Not in Mondays)
A couple of bits of confusion; I may be missing something basic. Did you/are you ...
5 years, 8 months ago (2015-04-03 13:25:29 UTC) #3
Elly Fong-Jones
I improved the test so it now checks that the histogram is logging a sensible ...
5 years, 8 months ago (2015-04-03 15:21:00 UTC) #4
Randy Smith (Not in Mondays)
Top level comment: I feel like describing the units as "bytes-seconds per second" isn't accurate; ...
5 years, 8 months ago (2015-04-03 16:08:18 UTC) #5
Elly Fong-Jones
https://codereview.chromium.org/1051353003/diff/20001/net/sdch/sdch_owner.cc File net/sdch/sdch_owner.cc (right): https://codereview.chromium.org/1051353003/diff/20001/net/sdch/sdch_owner.cc#newcode356 net/sdch/sdch_owner.cc:356: base::Time load_time; On 2015/04/03 16:08:18, rdsmith wrote: > ?? ...
5 years, 8 months ago (2015-04-03 20:24:23 UTC) #6
Randy Smith (Not in Mondays)
LGTM modulo the SdchOwner lifetime comment below. https://codereview.chromium.org/1051353003/diff/40001/net/sdch/sdch_owner.cc File net/sdch/sdch_owner.cc (right): https://codereview.chromium.org/1051353003/diff/40001/net/sdch/sdch_owner.cc#newcode235 net/sdch/sdch_owner.cc:235: DCHECK(load_times_.count(server_hash) == ...
5 years, 8 months ago (2015-04-03 20:36:51 UTC) #7
Ilya Sherman
LGTM https://codereview.chromium.org/1051353003/diff/60001/net/sdch/sdch_owner.cc File net/sdch/sdch_owner.cc (right): https://codereview.chromium.org/1051353003/diff/60001/net/sdch/sdch_owner.cc#newcode296 net/sdch/sdch_owner.cc:296: for (auto& val : consumed_byte_seconds_) { nit: "const ...
5 years, 8 months ago (2015-04-03 20:42:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/100001
5 years, 8 months ago (2015-04-03 20:45:23 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_rel_device_ninja/builds/54325)
5 years, 8 months ago (2015-04-03 20:57:08 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/100001
5 years, 8 months ago (2015-04-16 18:02:24 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/15491) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 8 months ago (2015-04-16 18:20:46 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/120001
5 years, 8 months ago (2015-04-16 19:25:25 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/15535)
5 years, 8 months ago (2015-04-16 20:56:17 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/120001
5 years, 7 months ago (2015-04-27 17:13:56 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/18913)
5 years, 7 months ago (2015-04-27 17:56:50 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/140001
5 years, 7 months ago (2015-04-27 20:21:19 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/11753)
5 years, 7 months ago (2015-04-27 23:30:25 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/140001
5 years, 7 months ago (2015-04-28 15:48:22 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1051353003/160001
5 years, 7 months ago (2015-04-28 17:45:58 UTC) #37
commit-bot: I haz the power
Committed patchset #9 (id:160001)
5 years, 7 months ago (2015-04-28 18:55:26 UTC) #38
commit-bot: I haz the power
5 years, 7 months ago (2015-04-28 18:57:25 UTC) #39
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/d5809f856236b6c7273470b4b7721269a083b148
Cr-Commit-Position: refs/heads/master@{#327342}

Powered by Google App Engine
This is Rietveld 408576698