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

Issue 2034553002: Set up background memory light tracing field trials (Closed)

Created:
4 years, 6 months ago by ssid
Modified:
4 years, 6 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@set_whitelist
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Set up background memory light tracing field trials This CL introduces a BENCHMARK_MEMORY_LIGHT mode for background field trials to enable memory-infra category in BACKGROUND mode. The background tracing controller disables the periodic memory dumps and takes a single memory snapshot when a light preset is passed. Since the BACKGROUND mode in memory-infra is restricted only to whitelisted dump providers (currently empty), this tracing mode causes very low overhead (currently none) on the user experience. BUG=613198 Committed: https://crrev.com/8ed45166343233d13a8f3517a0b8b33d9907248f Cr-Commit-Position: refs/heads/master@{#397910}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : Fix multiple triggers. #

Total comments: 2

Patch Set 3 : Remove navigation_tracing change. #

Patch Set 4 : Remove navigation_tracing change and add base_export. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -13 lines) Patch
M base/trace_event/trace_config.h View 1 2 3 3 chunks +6 lines, -2 lines 0 comments Download
M base/trace_event/trace_config.cc View 3 chunks +8 lines, -2 lines 0 comments Download
M content/browser/tracing/background_tracing_config_impl.h View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_config_impl.cc View 1 2 3 chunks +8 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_config_unittest.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.h View 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/tracing/background_tracing_manager_impl.cc View 1 5 chunks +30 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 26 (14 generated)
ssid
Now, that we have a whitelist of dump providers, the field trial for memory-infra background ...
4 years, 6 months ago (2016-06-02 00:14:15 UTC) #6
oystein (OOO til 10th of July)
https://codereview.chromium.org/2034553002/diff/40001/chrome/browser/tracing/navigation_tracing.cc File chrome/browser/tracing/navigation_tracing.cc (right): https://codereview.chromium.org/2034553002/diff/40001/chrome/browser/tracing/navigation_tracing.cc#newcode91 chrome/browser/tracing/navigation_tracing.cc:91: rules_dict->SetString("histogram_name", "V8.GCLowMemoryNotification"); On 2016/06/02 00:14:15, ssid wrote: > Not ...
4 years, 6 months ago (2016-06-02 06:11:33 UTC) #7
ssid
ptal, thanks. https://codereview.chromium.org/2034553002/diff/40001/chrome/browser/tracing/navigation_tracing.cc File chrome/browser/tracing/navigation_tracing.cc (right): https://codereview.chromium.org/2034553002/diff/40001/chrome/browser/tracing/navigation_tracing.cc#newcode91 chrome/browser/tracing/navigation_tracing.cc:91: rules_dict->SetString("histogram_name", "V8.GCLowMemoryNotification"); On 2016/06/02 06:11:33, Oystein wrote: ...
4 years, 6 months ago (2016-06-03 06:34:33 UTC) #8
Primiano Tucci (use gerrit)
I am not too familiar with this code so really can't help a low with ...
4 years, 6 months ago (2016-06-03 16:04:20 UTC) #9
ssid
On 2016/06/03 16:04:20, Primiano Tucci wrote: > I am not too familiar with this code ...
4 years, 6 months ago (2016-06-03 21:17:24 UTC) #10
oystein (OOO til 10th of July)
lgtm! (with the code in navigation_tracing.cc removed, as mentioned). https://codereview.chromium.org/2034553002/diff/60001/content/browser/tracing/background_tracing_config_impl.cc File content/browser/tracing/background_tracing_config_impl.cc (right): https://codereview.chromium.org/2034553002/diff/60001/content/browser/tracing/background_tracing_config_impl.cc#newcode120 content/browser/tracing/background_tracing_config_impl.cc:120: ...
4 years, 6 months ago (2016-06-03 22:09:19 UTC) #11
ssid
On 2016/06/03 22:09:19, Oystein wrote: > lgtm! (with the code in navigation_tracing.cc removed, as mentioned). ...
4 years, 6 months ago (2016-06-03 22:36:21 UTC) #12
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034553002/100001
4 years, 6 months ago (2016-06-04 00:43:02 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 6 months ago (2016-06-04 03:13:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2034553002/100001
4 years, 6 months ago (2016-06-04 08:10:13 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:100001)
4 years, 6 months ago (2016-06-04 08:13:43 UTC) #24
commit-bot: I haz the power
4 years, 6 months ago (2016-06-04 08:15:06 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8ed45166343233d13a8f3517a0b8b33d9907248f
Cr-Commit-Position: refs/heads/master@{#397910}

Powered by Google App Engine
This is Rietveld 408576698