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

Issue 687273004: Measure the number of frame loads with Flash. (Closed)

Created:
6 years, 1 month ago by Lei Zhang
Modified:
6 years, 1 month ago
CC:
chromium-reviews, creis+watch_chromium.org, nasko+codewatch_chromium.org, jam, darin-cc_chromium.org, asvitkine+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, groby-ooo-7-16, tommycli, dmichael (off chromium), raymes
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Measure the number of frame loads with Flash. Also measure the number of frame loads for comparison, and the number of Flash instances created while we are at it. BUG=403800 Committed: https://crrev.com/f00bafe1a7f9a3047e1c2abb41d3b1350d45d8c2 Cr-Commit-Position: refs/heads/master@{#302522}

Patch Set 1 #

Patch Set 2 : omit content:: #

Total comments: 4

Patch Set 3 : address comments, add more actions #

Total comments: 6

Patch Set 4 : rebase #

Patch Set 5 : grammar #

Patch Set 6 : only count successful loads #

Patch Set 7 : fix build, do not count in page navigations #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -4 lines) Patch
M content/browser/frame_host/navigator_impl.cc View 1 2 3 4 5 6 2 chunks +5 lines, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 5 6 7 3 chunks +10 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 4 chunks +8 lines, -3 lines 0 comments Download
M tools/metrics/actions/actions.xml View 1 2 3 4 5 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (4 generated)
Lei Zhang
This is roughly correlated with the PageLoad metric which in WebContentsImpl.
6 years, 1 month ago (2014-10-30 01:36:46 UTC) #2
Lei Zhang
+isherman for metrics.
6 years, 1 month ago (2014-10-30 01:37:15 UTC) #4
Ilya Sherman
lgtm
6 years, 1 month ago (2014-10-30 03:28:30 UTC) #5
Charlie Reis
https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc#newcode644 content/renderer/render_frame_impl.cc:644: RecordAction(base::UserMetricsAction("PageLoadWithFlash")); Can this be called more than once per ...
6 years, 1 month ago (2014-10-30 18:46:26 UTC) #6
Lei Zhang
+dmichael/raymes in case they have additional comments. https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc#newcode644 content/renderer/render_frame_impl.cc:644: RecordAction(base::UserMetricsAction("PageLoadWithFlash")); On ...
6 years, 1 month ago (2014-10-30 22:14:40 UTC) #7
Charlie Reis
Thanks. Should be good, but one last question. https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc#newcode644 content/renderer/render_frame_impl.cc:644: RecordAction(base::UserMetricsAction("PageLoadWithFlash")); ...
6 years, 1 month ago (2014-10-30 22:25:39 UTC) #8
dmichael (off chromium)
(I don't care a bunch about the name, but I think creis is right) https://codereview.chromium.org/687273004/diff/20001/content/renderer/render_frame_impl.cc ...
6 years, 1 month ago (2014-10-30 22:54:10 UTC) #10
Lei Zhang
I want to test, but running with --site-per-process is very crashy in my ToT debug ...
6 years, 1 month ago (2014-10-30 23:52:47 UTC) #11
Lei Zhang
Ok, I now have: FrameLoad (done on the browser side to save an IPC) FrameLoadWithFlash ...
6 years, 1 month ago (2014-10-31 00:45:01 UTC) #12
Lei Zhang
Ok, I now have: FrameLoad (done on the browser side to save an IPC) FrameLoadWithFlash ...
6 years, 1 month ago (2014-10-31 00:45:01 UTC) #13
Charlie Reis
I'm ok with those names, if you're able to process that data. (For example, you ...
6 years, 1 month ago (2014-10-31 16:55:46 UTC) #14
Charlie Reis
On 2014/10/30 23:52:47, Lei Zhang wrote: > I want to test, but running with --site-per-process ...
6 years, 1 month ago (2014-10-31 16:59:27 UTC) #15
Lei Zhang
https://codereview.chromium.org/687273004/diff/40001/content/browser/web_contents/web_contents_impl.cc File content/browser/web_contents/web_contents_impl.cc (right): https://codereview.chromium.org/687273004/diff/40001/content/browser/web_contents/web_contents_impl.cc#newcode2749 content/browser/web_contents/web_contents_impl.cc:2749: RecordAction(base::UserMetricsAction("FrameLoad")); On 2014/10/31 16:55:45, Charlie Reis wrote: > DidStartLoading ...
6 years, 1 month ago (2014-11-01 00:51:47 UTC) #16
Charlie Reis
Thanks, and sorry for all the questions! LGTM.
6 years, 1 month ago (2014-11-03 18:27:50 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/687273004/140001
6 years, 1 month ago (2014-11-03 23:02:39 UTC) #19
commit-bot: I haz the power
Committed patchset #8 (id:140001)
6 years, 1 month ago (2014-11-03 23:55:19 UTC) #20
commit-bot: I haz the power
6 years, 1 month ago (2014-11-03 23:56:37 UTC) #21
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f00bafe1a7f9a3047e1c2abb41d3b1350d45d8c2
Cr-Commit-Position: refs/heads/master@{#302522}

Powered by Google App Engine
This is Rietveld 408576698