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

Issue 2382503002: Cleanup histograms from message loop, as well as kHexRangePrintingFlag. (Closed)

Created:
4 years, 2 months ago by rkaplow
Modified:
4 years, 2 months ago
CC:
chromium-reviews, sadrul, asvitkine+watch_chromium.org, Mark P
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Cleanup histograms from message loop, as well as kHexRangePrintingFlag. The message loop histograms are only accessible via command line so are not really that useful. We have similar data via profiler and traces. Note that this logic is very old, added by jar@ from the historical repo. Removed support for HistogramBase::kHexRangePrintingFlag, which was an available flag for creating histograms. The intention was to make chrome://histograms more readable, but was never really used. Other minor changes: - visual change to chrome://histograms (average -> mean). - made the flag comment a bit more friendly as part of the "make chrome reviews friendlier" effort :) BUG=651169 Committed: https://crrev.com/035eb12a2d163d3d3c9185f800acd3d800d56444 Cr-Commit-Position: refs/heads/master@{#421650}

Patch Set 1 #

Total comments: 2

Patch Set 2 : asvitkine comment #

Patch Set 3 : make flag comment nicer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -123 lines) Patch
M base/message_loop/message_loop.h View 4 chunks +0 lines, -15 lines 0 comments Download
M base/message_loop/message_loop.cc View 1 7 chunks +0 lines, -77 lines 0 comments Download
M base/metrics/histogram.cc View 1 chunk +5 lines, -6 lines 0 comments Download
M base/metrics/histogram_base.h View 1 chunk +0 lines, -5 lines 0 comments Download
M base/metrics/histogram_base.cc View 1 chunk +1 line, -6 lines 0 comments Download
M base/metrics/sparse_histogram.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 2 chunks +1 line, -6 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
rkaplow
4 years, 2 months ago (2016-09-28 19:18:07 UTC) #3
Lei Zhang
lgtm if asvitkine approves.
4 years, 2 months ago (2016-09-28 19:25:27 UTC) #4
Alexei Svitkine (slow)
LGTM+++!! Would LGTM again! Maybe make the description explicit about what support from base/metrics histogram ...
4 years, 2 months ago (2016-09-28 19:27:48 UTC) #5
rkaplow
More details in description + changed the flag comment https://codereview.chromium.org/2382503002/diff/1/base/message_loop/message_loop.cc File base/message_loop/message_loop.cc (right): https://codereview.chromium.org/2382503002/diff/1/base/message_loop/message_loop.cc#newcode485 base/message_loop/message_loop.cc:485: ...
4 years, 2 months ago (2016-09-28 19:40:37 UTC) #7
Alexei Svitkine (slow)
LGTM!
4 years, 2 months ago (2016-09-28 19:54:28 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2382503002/40001
4 years, 2 months ago (2016-09-28 19:59:35 UTC) #11
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 2 months ago (2016-09-28 21:48:55 UTC) #13
commit-bot: I haz the power
4 years, 2 months ago (2016-09-28 21:50:52 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/035eb12a2d163d3d3c9185f800acd3d800d56444
Cr-Commit-Position: refs/heads/master@{#421650}

Powered by Google App Engine
This is Rietveld 408576698