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

Issue 1426673009: Log UMA for navigation start timestamp skew for browser-initiated loads (Closed)

Created:
5 years, 1 month ago by Charlie Harrison
Modified:
5 years, 1 month ago
CC:
asvitkine+watch_chromium.org, Bryan McQuade, chromium-reviews, clamy, creis+watch_chromium.org, darin-cc_chromium.org, jam, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@navigation_start_renderer
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Log UMA for navigation start timestamp skew for browser-initiated loads We sanitize the navigation start timestamp by taking std::min(browser_navigation_start, renderer_navigation_start) This change logs the difference between the two timestamps. This difference should ideally reflect the IPC time from browser to renderer, plus any extra time the navigation was suspended in the RenderFrameHost. BUG=394757 Committed: https://crrev.com/a813debae1ce75223a04d0c6044edd7d47822e21 Cr-Commit-Position: refs/heads/master@{#360230}

Patch Set 1 #

Total comments: 5

Patch Set 2 : use UMA_HISTOGRAM_TIMES #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -3 lines) Patch
M content/renderer/render_frame_impl.cc View 1 1 chunk +9 lines, -3 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 1 chunk +26 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 17 (4 generated)
Charlie Harrison
PTAL. It seems this issue has caused a lot of grief over the years. This ...
5 years, 1 month ago (2015-11-05 20:56:52 UTC) #2
Charlie Harrison
cc clamy@
5 years, 1 month ago (2015-11-05 20:57:37 UTC) #3
jochen (gone - plz use gerrit)
lgtm
5 years, 1 month ago (2015-11-06 05:43:57 UTC) #4
clamy
https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml#newcode20787 tools/metrics/histograms/histograms.xml:20787: + should ideally only reflect the IPC time between ...
5 years, 1 month ago (2015-11-06 10:58:51 UTC) #6
Charlie Harrison
https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml#newcode20787 tools/metrics/histograms/histograms.xml:20787: + should ideally only reflect the IPC time between ...
5 years, 1 month ago (2015-11-06 13:35:19 UTC) #7
clamy
https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml#newcode20787 tools/metrics/histograms/histograms.xml:20787: + should ideally only reflect the IPC time between ...
5 years, 1 month ago (2015-11-06 14:07:02 UTC) #8
Charlie Harrison
https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml File tools/metrics/histograms/histograms.xml (right): https://codereview.chromium.org/1426673009/diff/1/tools/metrics/histograms/histograms.xml#newcode20787 tools/metrics/histograms/histograms.xml:20787: + should ideally only reflect the IPC time between ...
5 years, 1 month ago (2015-11-06 14:42:35 UTC) #9
Alexei Svitkine (slow)
https://codereview.chromium.org/1426673009/diff/1/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/1426673009/diff/1/content/renderer/render_frame_impl.cc#newcode483 content/renderer/render_frame_impl.cc:483: base::TimeDelta::FromMilliseconds(1), base::TimeDelta::FromSeconds(5), Suggest using UMA_HISTOGRAM_TIMES(). It gives you a ...
5 years, 1 month ago (2015-11-06 16:53:18 UTC) #10
Charlie Harrison
On 2015/11/06 16:53:18, Alexei Svitkine (slow) wrote: > https://codereview.chromium.org/1426673009/diff/1/content/renderer/render_frame_impl.cc > File content/renderer/render_frame_impl.cc (right): > > ...
5 years, 1 month ago (2015-11-06 17:59:50 UTC) #11
Alexei Svitkine (slow)
lgtm
5 years, 1 month ago (2015-11-06 18:01:19 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1426673009/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1426673009/20001
5 years, 1 month ago (2015-11-17 22:59:53 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-18 00:27:55 UTC) #16
commit-bot: I haz the power
5 years, 1 month ago (2015-11-18 00:29:54 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/a813debae1ce75223a04d0c6044edd7d47822e21
Cr-Commit-Position: refs/heads/master@{#360230}

Powered by Google App Engine
This is Rietveld 408576698