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

Issue 2902413002: memory-infra: remove light dumps and increment default dump time to 5s (Closed)

Created:
3 years, 7 months ago by Primiano Tucci (use gerrit)
Modified:
3 years, 7 months ago
Reviewers:
erikchen
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, danakj+watch_chromium.org, vmpstr+watch_chromium.org, ulan, Hannes Payer (out of office)
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

memory-infra: remove light dumps and increment default dump time to 5s This CL changes the default behavior (i.e. when no trace config is passed) of memory-infra, by enabling only detailed dumps and only every 5 seconds (instead of 2). Rationale: - Nobody seems to make a use of light dumps in the UI. - 2 seconds is too aggressive for detailed dumps, especially when using the heap profiler. The support for light dumps itself is NOT removed. They can still be requested via the trace config. This is to support some telemetry benchmarks (v8) that rely on them. Review-Url: https://codereview.chromium.org/2902413002 Cr-Commit-Position: refs/heads/master@{#474982} Committed: https://chromium.googlesource.com/chromium/src/+/bddc4ba03f742af167194a52a0a92516976fa9fb

Patch Set 1 #

Patch Set 2 : fix test #

Patch Set 3 : Undo crrev.com/2815963002, fire first timer immediately #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -12 lines) Patch
M base/trace_event/memory_dump_scheduler.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M base/trace_event/trace_config.cc View 2 chunks +3 lines, -7 lines 0 comments Download
M base/trace_event/trace_config_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
Primiano Tucci (use gerrit)
Let's start with just 5 s and see how it goes? +ulan/hpayer FYI: this change ...
3 years, 7 months ago (2017-05-25 17:29:05 UTC) #4
erikchen
lgtm
3 years, 7 months ago (2017-05-25 17:31:42 UTC) #5
Primiano Tucci (use gerrit)
+ssid fiy
3 years, 7 months ago (2017-05-25 17:48:24 UTC) #6
ssid
On 2017/05/25 17:48:24, Primiano Tucci wrote: > +ssid fiy lg!
3 years, 7 months ago (2017-05-25 18:20:53 UTC) #9
Primiano Tucci (use gerrit)
ssid: I am afraid I am going to undo your https://codereview.chromium.org/2815963002. With 5 seconds delay ...
3 years, 7 months ago (2017-05-26 10:02:48 UTC) #10
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/2902413002/40001
3 years, 7 months ago (2017-05-26 10:03:30 UTC) #13
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/bddc4ba03f742af167194a52a0a92516976fa9fb
3 years, 7 months ago (2017-05-26 11:33:07 UTC) #16
ssid
On 2017/05/26 11:33:07, commit-bot: I haz the power wrote: > Committed patchset #3 (id:40001) as ...
3 years, 7 months ago (2017-05-26 13:30:23 UTC) #17
Primiano Tucci (use gerrit)
3 years, 7 months ago (2017-05-26 14:29:17 UTC) #18
Message was sent while issue was closed.
On 2017/05/26 13:30:23, ssid wrote:
> On 2017/05/26 11:33:07, commit-bot: I haz the power wrote:
> > Committed patchset #3 (id:40001) as
> >
>
https://chromium.googlesource.com/chromium/src/+/bddc4ba03f742af167194a52a0a9...
> 
> Actually realized that the first dump will be triggered after 5 seconds. So it
> might make each tracing season uncomfortably long

See my comment #10: not anymore :)

Powered by Google App Engine
This is Rietveld 408576698