Add GWS metrics based on UserInteraction, ActualNavigationStart, and ParseStart [chromium/src : main]

0 views
Skip to first unread message

Minoru Chikamune (Gerrit)

unread,
Apr 2, 2026, 11:36:51 AM (yesterday) Apr 2
to Minoru Chikamune, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org, bmcquad...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
Attention needed from Minoru Chikamune

Message from Minoru Chikamune

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Minoru Chikamune
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia9e680e6207b5963ffb558ed356d9704c8235117
Gerrit-Change-Number: 7720461
Gerrit-PatchSet: 5
Gerrit-Owner: Minoru Chikamune <chik...@chromium.org>
Gerrit-Reviewer: Minoru Chikamune <chik...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Minoru Chikamune <chik...@chromium.org>
Gerrit-Comment-Date: Thu, 02 Apr 2026 15:36:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Takashi Toyoshima (Gerrit)

unread,
7:47 AM (13 hours ago) 7:47 AM
to Minoru Chikamune, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org, bmcquad...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
Attention needed from Minoru Chikamune

Takashi Toyoshima voted and added 3 comments

Votes added by Takashi Toyoshima

Code-Review+1

3 comments

Patchset-level comments
File-level comment, Patchset 10 (Latest):
Takashi Toyoshima . resolved

LGTM with optional comments

File components/page_load_metrics/google/browser/gws_page_load_metrics_observer.cc
Line 59, Patchset 10 (Latest):
Takashi Toyoshima . unresolved

hum... these are listed in a bit chaotic order?
When I see only variable names, I can see some clusters and looks organized, but when I see the metrics name, FooTiming and BarTiming are mixed, for instance.

So, this is not an optional request, but if you can find a better organization, it's nice to reorder them in a reasonable way.

Line 413, Patchset 10 (Latest): delegate.GetNavigationStart())) {
Takashi Toyoshima . unresolved

Can we have a short comment to explain why you exclude the reversed order case, e.g. just for unexpected races?

Open in Gerrit

Related details

Attention is currently required from:
  • Minoru Chikamune
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia9e680e6207b5963ffb558ed356d9704c8235117
Gerrit-Change-Number: 7720461
Gerrit-PatchSet: 10
Gerrit-Owner: Minoru Chikamune <chik...@chromium.org>
Gerrit-Reviewer: Minoru Chikamune <chik...@chromium.org>
Gerrit-Reviewer: Takashi Toyoshima <toyo...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Minoru Chikamune <chik...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 11:47:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Minoru Chikamune (Gerrit)

unread,
10:33 AM (10 hours ago) 10:33 AM
to Minoru Chikamune, Takashi Toyoshima, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org, bmcquad...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
Attention needed from Takashi Toyoshima

Minoru Chikamune added 2 comments

File components/page_load_metrics/google/browser/gws_page_load_metrics_observer.cc
Takashi Toyoshima . unresolved

hum... these are listed in a bit chaotic order?
When I see only variable names, I can see some clusters and looks organized, but when I see the metrics name, FooTiming and BarTiming are mixed, for instance.

So, this is not an optional request, but if you can find a better organization, it's nice to reorder them in a reasonable way.

Minoru Chikamune

I ordered these metrics in the following way.

1. InteractionTo*
2. ActualNavigationStartTo*
3. ParseStartTo* (but also includes NavigationStartTo* and NavigationCommit*)

The category name such as `NavigationTiming`, `PaintTiming`, `DocumentTiming`, etc come from historical reason. Perhaps it's better to remove these category names..

Line 413, Patchset 10 (Latest): delegate.GetNavigationStart())) {
Takashi Toyoshima . unresolved

Can we have a short comment to explain why you exclude the reversed order case, e.g. just for unexpected races?

Minoru Chikamune

This is just for unexpected cases, but it actually happen unfortunately. Probably there are two main reasons for this to happen.

1. Some of the actual_navigation_start time comes from renderer process, and the timestamp is different from the browser process.

2. Probably `blink::InterProcessTimeTicksConverter` makes things even worse.

Open in Gerrit

Related details

Attention is currently required from:
  • Takashi Toyoshima
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • requirement satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia9e680e6207b5963ffb558ed356d9704c8235117
Gerrit-Change-Number: 7720461
Gerrit-PatchSet: 10
Gerrit-Owner: Minoru Chikamune <chik...@chromium.org>
Gerrit-Reviewer: Minoru Chikamune <chik...@chromium.org>
Gerrit-Reviewer: Takashi Toyoshima <toyo...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Takashi Toyoshima <toyo...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 14:33:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Takashi Toyoshima <toyo...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages