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

Issue 2938013002: Persist core system profile during startup. (Closed)

Created:
3 years, 6 months ago by bcwhite
Modified:
3 years, 6 months ago
CC:
chromium-reviews, asvitkine+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Persist core system profile during startup. Almost 40% of persistent metrics files are missing the embedded system profile which is stored about 1 minute into the process lifetime when the initial metrics upload is sent. This distinguishes between basic and complete system profiles allowing the core profile to be stored when the Log is created and be replaced by a more complete version later. Thus basic profile will thus be available even if the browser crashes almost immediately. BUG=695880 Review-Url: https://codereview.chromium.org/2938013002 Cr-Commit-Position: refs/heads/master@{#479513} Committed: https://chromium.googlesource.com/chromium/src/+/8ccb6aa1a42c3e72c4348b80932679b7ac6edb21

Patch Set 1 #

Patch Set 2 : added test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -13 lines) Patch
M components/metrics/file_metrics_provider_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M components/metrics/metrics_log.cc View 2 chunks +10 lines, -3 lines 0 comments Download
M components/metrics/persistent_system_profile.h View 4 chunks +15 lines, -3 lines 0 comments Download
M components/metrics/persistent_system_profile.cc View 4 chunks +22 lines, -3 lines 0 comments Download
M components/metrics/persistent_system_profile_unittest.cc View 1 2 chunks +18 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 22 (16 generated)
bcwhite
3 years, 6 months ago (2017-06-14 19:31:50 UTC) #12
Alexei Svitkine (slow)
lgtm I'm curious if there are things in the system profile that we should move ...
3 years, 6 months ago (2017-06-14 20:36:37 UTC) #15
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/2938013002/40001
3 years, 6 months ago (2017-06-14 20:52:37 UTC) #17
bcwhite
> I'm curious if there are things in the system profile that we should move ...
3 years, 6 months ago (2017-06-14 21:06:31 UTC) #18
Alexei Svitkine (slow)
On Wed, Jun 14, 2017 at 5:06 PM, <bcwhite@chromium.org> wrote: > > I'm curious if ...
3 years, 6 months ago (2017-06-14 21:15:47 UTC) #19
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 21:45:21 UTC) #22
Message was sent while issue was closed.
Committed patchset #2 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/8ccb6aa1a42c3e72c4348b809326...

Powered by Google App Engine
This is Rietveld 408576698