Skip to content

Conversation

@Fine0830
Copy link
Member

@Fine0830 Fine0830 commented Dec 2, 2025

No description provided.

@Fine0830 Fine0830 added this to the 1.1.0 milestone Dec 2, 2025
@Fine0830 Fine0830 requested a review from Copilot December 2, 2025 07:13
@Fine0830 Fine0830 self-assigned this Dec 2, 2025
@Fine0830 Fine0830 added the bug Something isn't working label Dec 2, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the naming of the CLS (Cumulative Layout Shift) metric property and ensures INP (Interaction to Next Paint) values are consistently rounded down using Math.floor().

Key changes:

  • Renamed clsTime to cls throughout the codebase, correctly reflecting that CLS is a dimensionless score rather than a time-based metric
  • Applied Math.floor() to INP latency values for consistency with other performance metrics (fmpTime, lcpTime, resource duration, etc.)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Fine0830 Fine0830 changed the title fix: rename to cls and fix inp value fix: rename clsTime to cls and fix inp value Dec 2, 2025
@Fine0830 Fine0830 requested a review from wu-sheng December 2, 2025 07:17
@wu-sheng wu-sheng merged commit f08776d into apache:master Dec 2, 2025
11 checks passed
@Fine0830 Fine0830 deleted the bugfix/data branch December 2, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants