[soft navs] Add commit_time to records sent to browser. [chromium/src : main]

0 views
Skip to first unread message

Johannes Henkel (Gerrit)

unread,
6:57 AM (3 hours ago) 6:57 AM
to AyeAye, Michal Mocny, Scott Haseley, Chromium LUCI CQ, chromium...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metr...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, core-timi...@chromium.org, speed-metrics...@chromium.org
Attention needed from Michal Mocny and Scott Haseley

Johannes Henkel voted and added 2 comments

Votes added by Johannes Henkel

Commit-Queue+1

2 comments

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Johannes Henkel . resolved

It's been a while, but would like to get back to this cl, as it makes progress in getting the commit time to the browser. PTAL! :-)

File third_party/blink/public/web/web_performance_metrics_for_reporting.h
Line 51, Patchset 2: base::TimeTicks commit_time;
Michal Mocny . resolved

Do you think we could include both the URL update time and the first paint time (not presentation), and then commit_time would be the max() of these two?

I think this gives us two featues:
1. We could compute how often we get paint before url vs url before paint.
2. We could experiment with slicing on URL change immediately, even before first paint.

Either way, we need to wait for FCP/LCP to arrive (i.e. presentation time) in the subsequent message before this soft-nav become "usable data", so the effect of measuring URL time without paint is equivalent to measuring before presentation time (for soft-LCP).

The effect on CLS/INP is unclear. I think there are cases where it would be better and some where it could be worse.

Johannes Henkel

Sorry, took me a while to chew on this. But, now that we've settled on this particular definition of 'commit time' for soft navs, I think it's best to have commit_time as a field.

Open in Gerrit

Related details

Attention is currently required from:
  • Michal Mocny
  • Scott Haseley
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ie457ad83ad7575f700cbe584ec3d7988e2155b23
Gerrit-Change-Number: 7500735
Gerrit-PatchSet: 8
Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
Gerrit-Reviewer: Michal Mocny <mmo...@chromium.org>
Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Michal Mocny <mmo...@chromium.org>
Gerrit-Comment-Date: Fri, 20 Feb 2026 11:57:11 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Michal Mocny <mmo...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages