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

Issue 11975048: Native memory histograms for the browser. (Closed)

Created:
7 years, 11 months ago by marja
Modified:
7 years, 5 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, chrome-speed-team+watch_google.com, jam, pam+watch_chromium.org, sky, jamesr, caseq
Visibility:
Public.

Description

Native memory histograms for the browser. If a command line flag --memory-metrics is passed, the browser measures the memory consumption after processing each task and puts the data to a histogram. The histograms will be used in the memory_benchmark of Telemetry. BUG=160979 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=179909

Patch Set 1 : . #

Total comments: 12

Patch Set 2 : Code review (jochen) #

Total comments: 2

Patch Set 3 : Rebased #

Patch Set 4 : Code review (creis) #

Total comments: 2

Patch Set 5 : Rebased #

Patch Set 6 : ios build fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -7 lines) Patch
M content/browser/browser_main_loop.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/browser_main_loop.cc View 1 2 3 4 5 3 chunks +27 lines, -0 lines 0 comments Download
M content/browser/histogram_message_filter.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/histogram_message_filter.cc View 1 3 chunks +23 lines, -0 lines 0 comments Download
M content/common/child_process_messages.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/dom_automation_controller.h View 1 chunk +5 lines, -0 lines 0 comments Download
M content/renderer/dom_automation_controller.cc View 3 chunks +23 lines, -0 lines 0 comments Download
M content/renderer/renderer_main.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M tools/perf/perf_tools/memory_benchmark.py View 2 chunks +17 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jochen (gone - plz use gerrit)
https://codereview.chromium.org/11975048/diff/5001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/11975048/diff/5001/content/browser/browser_main_loop.cc#newcode229 content/browser/browser_main_loop.cc:229: MemoryObserver() {} should have a virtual destructor https://codereview.chromium.org/11975048/diff/5001/content/browser/browser_main_loop.cc#newcode234 content/browser/browser_main_loop.cc:234: ...
7 years, 11 months ago (2013-01-18 14:03:11 UTC) #1
marja
Thanks for comments! https://codereview.chromium.org/11975048/diff/5001/content/browser/browser_main_loop.cc File content/browser/browser_main_loop.cc (right): https://codereview.chromium.org/11975048/diff/5001/content/browser/browser_main_loop.cc#newcode229 content/browser/browser_main_loop.cc:229: MemoryObserver() {} On 2013/01/18 14:03:11, jochen ...
7 years, 11 months ago (2013-01-18 15:00:08 UTC) #2
jochen (gone - plz use gerrit)
sg so far Please add a BUG :)
7 years, 11 months ago (2013-01-18 15:23:25 UTC) #3
marja
OWNERS {tsepez, sky, jamesr}: Could you review this CL? tsepez: content/common/child_process_messages.h & related code sky: ...
7 years, 11 months ago (2013-01-18 15:28:58 UTC) #4
marja
Oops, optimizing OWNERS; -sky -jamesr, +creis OWNERS {tsepez, creis}: Could you review this CL? tsepez: ...
7 years, 11 months ago (2013-01-18 15:33:05 UTC) #5
Tom Sepez
Message itself is fine. Also this is behind a command line switch, will it stay ...
7 years, 11 months ago (2013-01-18 18:08:01 UTC) #6
marja
Thanks for review, Yes, this is intended to stay behind a command line switch. Measuring ...
7 years, 11 months ago (2013-01-21 09:28:52 UTC) #7
Charlie Reis
LGTM with nit. Sorry for the delay! https://codereview.chromium.org/11975048/diff/4007/content/common/child_process_messages.h File content/common/child_process_messages.h (right): https://codereview.chromium.org/11975048/diff/4007/content/common/child_process_messages.h#newcode111 content/common/child_process_messages.h:111: // Request ...
7 years, 11 months ago (2013-01-22 23:31:30 UTC) #8
marja
Thanks for review! https://codereview.chromium.org/11975048/diff/4007/content/common/child_process_messages.h File content/common/child_process_messages.h (right): https://codereview.chromium.org/11975048/diff/4007/content/common/child_process_messages.h#newcode111 content/common/child_process_messages.h:111: // Request a histogram from the ...
7 years, 11 months ago (2013-01-23 08:28:44 UTC) #9
nduca
I dont quite get the idea of using histograms to pull this data. What about ...
7 years, 11 months ago (2013-01-23 08:31:33 UTC) #10
nduca
+caseq, who might find memory data being inserted into trace_event useful for devtools
7 years, 11 months ago (2013-01-23 08:36:33 UTC) #11
nduca
telemetry change lgtm https://codereview.chromium.org/11975048/diff/18001/content/common/child_process_messages.h File content/common/child_process_messages.h (right): https://codereview.chromium.org/11975048/diff/18001/content/common/child_process_messages.h#newcode114 content/common/child_process_messages.h:114: IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_GetBrowserHistogram, is there any security risk ...
7 years, 10 months ago (2013-01-31 04:20:11 UTC) #12
marja
Thanks for review! https://codereview.chromium.org/11975048/diff/18001/content/common/child_process_messages.h File content/common/child_process_messages.h (right): https://codereview.chromium.org/11975048/diff/18001/content/common/child_process_messages.h#newcode114 content/common/child_process_messages.h:114: IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_GetBrowserHistogram, On 2013/01/31 04:20:11, nduca wrote: ...
7 years, 10 months ago (2013-01-31 08:19:36 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/11975048/22002
7 years, 10 months ago (2013-01-31 08:36:10 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 10 months ago (2013-01-31 08:59:01 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/marja@chromium.org/11975048/23002
7 years, 10 months ago (2013-01-31 16:00:50 UTC) #16
commit-bot: I haz the power
7 years, 10 months ago (2013-01-31 18:13:56 UTC) #17
Message was sent while issue was closed.
Change committed as 179909

Powered by Google App Engine
This is Rietveld 408576698