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

Issue 2643723007: time metric: record elapsed time from when the backgrounded and purged renderer is foregrounded unti (Closed)

Created:
3 years, 11 months ago by tasak
Modified:
3 years, 10 months ago
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

time metric: record elapsed time from when the backgrounded and purged renderer is foregrounded until the renderer is painted. Record the effect of purge-and-suspend experiment. Since the purge clears some caches, we need to recover the caches when the renderer is painted, i.e. whether the recovery takes short time or not. BUG=635419 Review-Url: https://codereview.chromium.org/2643723007 Cr-Commit-Position: refs/heads/master@{#449038} Committed: https://chromium.googlesource.com/chromium/src/+/b95dbb50ccb02e2f5584419033d5409ae0e1d8f5

Patch Set 1 #

Patch Set 2 : Rebased #

Patch Set 3 : Moved code to content/ #

Patch Set 4 : s/google.org/google.com/g #

Total comments: 4

Patch Set 5 : Moved record_first_active_paint_ and so on to RenderWidget. #

Patch Set 6 : Add NeedsToRecordFirstActivePaint to RenderThreadImpl #

Total comments: 2

Patch Set 7 : Fixed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -2 lines) Patch
M content/renderer/render_thread_impl.h View 1 2 3 4 5 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 3 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_widget.cc View 1 2 3 4 5 6 4 chunks +18 lines, -2 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 61 (37 generated)
tasak
3 years, 11 months ago (2017-01-20 10:22:06 UTC) #17
tasak
esprehn, would you advise me which is better way to add UMA, patch set 2 ...
3 years, 11 months ago (2017-01-20 11:52:31 UTC) #21
tasak
Would you review this CL?
3 years, 11 months ago (2017-01-23 08:51:05 UTC) #23
haraken
Elliott: Would you mind reviewing this CL? This metric is needed to evaluate the tab ...
3 years, 11 months ago (2017-01-25 03:06:04 UTC) #24
esprehn
This doesn't seem like the right layering, the RenderThread should expose the metric times and ...
3 years, 11 months ago (2017-01-25 03:22:17 UTC) #25
tasak
Thank you for review. I moved the code into RenderWidget. To do so, I added ...
3 years, 11 months ago (2017-01-26 09:39:40 UTC) #30
haraken
Elliott: Would you review this when you have a moment? We might want to get ...
3 years, 10 months ago (2017-01-27 09:49:39 UTC) #31
esprehn
Hmm why do we need a new IPC? It's strange to have an IPC that's ...
3 years, 10 months ago (2017-01-27 16:48:54 UTC) #32
tasak
On 2017/01/27 16:48:54, esprehn wrote: > Hmm why do we need a new IPC? It's ...
3 years, 10 months ago (2017-01-30 05:31:04 UTC) #33
esprehn
oysteine@ This seems like a good place for the PCU system. I don't think we ...
3 years, 10 months ago (2017-01-30 17:19:28 UTC) #36
oystein (OOO til 10th of July)
On 2017/01/30 17:19:28, esprehn wrote: > oysteine@ This seems like a good place for the ...
3 years, 10 months ago (2017-01-31 18:56:02 UTC) #37
haraken
On 2017/01/31 18:56:02, oystein wrote: > On 2017/01/30 17:19:28, esprehn wrote: > > oysteine@ This ...
3 years, 10 months ago (2017-01-31 19:10:45 UTC) #38
haraken
On 2017/01/31 19:10:45, haraken wrote: > On 2017/01/31 18:56:02, oystein wrote: > > On 2017/01/30 ...
3 years, 10 months ago (2017-02-03 04:12:18 UTC) #39
oystein (OOO til 10th of July)
On 2017/02/03 at 04:12:18, haraken wrote: > On 2017/01/31 19:10:45, haraken wrote: > > On ...
3 years, 10 months ago (2017-02-03 23:18:17 UTC) #40
haraken
On 2017/02/03 23:18:17, oystein wrote: > On 2017/02/03 at 04:12:18, haraken wrote: > > On ...
3 years, 10 months ago (2017-02-06 23:23:08 UTC) #41
esprehn
I don't think we should be adding a new IPC here, just expose the times ...
3 years, 10 months ago (2017-02-08 04:57:46 UTC) #42
tasak
On 2017/02/08 04:57:46, esprehn wrote: > I don't think we should be adding a new ...
3 years, 10 months ago (2017-02-08 05:02:10 UTC) #43
tasak
esprehn@, would you take a look at the newest patch? I added NeedsToRecordFirstActivePaint() to RenderThreadImpl ...
3 years, 10 months ago (2017-02-08 06:15:09 UTC) #46
esprehn
lgtm w/ some nits. We really to start making progress on the perf timeline service ...
3 years, 10 months ago (2017-02-08 06:23:06 UTC) #47
tasak
Thank you for review. https://codereview.chromium.org/2643723007/diff/110001/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2643723007/diff/110001/content/renderer/render_widget.cc#newcode937 content/renderer/render_widget.cc:937: if (!time_to_first_active_paint_recorded_ && On 2017/02/08 ...
3 years, 10 months ago (2017-02-08 06:49:08 UTC) #50
tasak
rkaplow@, would you review histograms.xml's change?
3 years, 10 months ago (2017-02-08 10:24:20 UTC) #54
rkaplow
lgtm histogram lg
3 years, 10 months ago (2017-02-08 15:30:12 UTC) #55
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/2643723007/130001
3 years, 10 months ago (2017-02-08 18:02:32 UTC) #58
commit-bot: I haz the power
3 years, 10 months ago (2017-02-08 18:08:41 UTC) #61
Message was sent while issue was closed.
Committed patchset #7 (id:130001) as
https://chromium.googlesource.com/chromium/src/+/b95dbb50ccb02e2f5584419033d5...

Powered by Google App Engine
This is Rietveld 408576698