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

Issue 3017007: Introduce "--enable-memory-info" command-line flag to enable reporting (Closed)

Created:
10 years, 5 months ago by mnaganov (inactive)
Modified:
9 years, 7 months ago
Reviewers:
pfeldman
CC:
chromium-reviews, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Introduce "--enable-memory-info" command-line flag to enable reporting of JS heap size via "console.memory" (for now) and "webkitPerformance.memory" (having Web Timing enabled). BUG=43281 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=52886

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 chunk +2 lines, -0 lines 1 comment Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/render_messages.h View 2 chunks +3 lines, -1 line 0 comments Download
M webkit/glue/webpreferences.h View 2 chunks +3 lines, -1 line 0 comments Download
M webkit/glue/webpreferences.cc View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
mnaganov (inactive)
10 years, 5 months ago (2010-07-16 11:21:36 UTC) #1
pfeldman
10 years, 5 months ago (2010-07-16 11:25:12 UTC) #2
LGTM

http://codereview.chromium.org/3017007/diff/1/2
File chrome/browser/tab_contents/render_view_host_delegate_helper.cc (right):

http://codereview.chromium.org/3017007/diff/1/2#newcode272
chrome/browser/tab_contents/render_view_host_delegate_helper.cc:272:
command_line.HasSwitch(switches::kEnableMemoryInfo);
kEnablePerformanceMemoryInfo ?

Powered by Google App Engine
This is Rietveld 408576698