docs/speed/metrics_changelog/how_to_update.md
This document provides instructions for updating the changelogs in this directory. It is intended for both human contributors and AI agents.
All changelogs in this directory use Markdown (.md). This format is preferred because:
To make it easier for AI agents to update these files reliably, a consistent structure is recommended.
Common Categories:
Metric definition improvement: Changes to the algorithm or what counts towards the metric.Metric bug fix: Fixes to bugs in the metric implementation.Bug: Known issues or bugs introduced.Implementation optimizations: Performance improvements in the measurement code.Launch feature: New features or flags enabled.Example:
* Chrome 143
* Metric bug fix: [Fixed text presentation timestamps reporting too early, impacting LCP (introduced in M140)](2025_09_lcp.md)
The changelogs are intended for external developers to understand what might affect their metrics or how they measure them, as well as for maintainers.
inp.md and linked files). Explain the rationale behind the change and how it affects a site's metrics.inp.md does).* Other implementation changes: and use sub-bullets for the specific items, keeping the descriptions succinct.To find relevant changes, use a combination of path-based and author-based searches:
third_party/blink/renderer/core/timing/OWNERS for the target milestone period. These owners frequently land changes related to Web Vitals and performance metrics, and their commits are highly likely to contain relevant updates, even if they touch files outside the primary directories.Tip for Jujutsu (jj) users: To search for commits affecting a file, use the files() function in your revset (e.g., jj log -r "files(path/to/file)"), as the file() function does not exist.
https://chromium-review.googlesource.com/c/chromium/src/+/...) or crrev.com/<hash> shorteners. Do NOT use local file:// URLs.When searching for changes to include in the logs, AI agents should check the following locations in the repository. Changes in these directories often impact the metrics, and commit messages should be reviewed to see if they are worth mentioning:
third_party/blink/renderer/core/timing/
soft_navigation_heuristics.cc and soft_navigation_context.cc.third_party/blink/renderer/core/layout/
third_party/blink/renderer/core/paint/
components/page_load_metrics/
third_party/blink/renderer/core/scheduler/
task_attribution_tracker_impl.cc), which is critical for tracking causality in Soft Navigations.