-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core(lightwallet): add timing-budget audit #9901
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lookin' good!
Probably should have brought this up earlier, but have we given thought to what's going to happen with our first non-timing metrics like CLS when they land? Will they be covered by budgets.timing
and this audit? Will we need a new audit? Will we go through another audit id rejiggering? May not need to decide right now, but it'd be nice to avoid a breaking budgets change every major if we can plan ahead :)
I think something like CLS should be covered by a separate section in budget.json. The exact name would need more thought, but it could be something like I also think you might also be able to make the argument that something like CLS should be enforced via lighthouse-ci rather than budget.json. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! excited for the surfacing phase :D
@@ -139,7 +137,7 @@ class ResourceBudget extends Audit { | |||
{key: 'requestCount', itemType: 'numeric', text: str_(i18n.UIStrings.columnRequests)}, | |||
{key: 'size', itemType: 'bytes', text: str_(i18n.UIStrings.columnTransferSize)}, | |||
{key: 'countOverBudget', itemType: 'text', text: ''}, | |||
{key: 'sizeOverBudget', itemType: 'bytes', text: str_(UIStrings.columnOverBudget)}, | |||
{key: 'sizeOverBudget', itemType: 'bytes', text: str_(i18n.UIStrings.columnOverBudget)}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@exterkamp should we be keeping in mind any particular timeline for tc roundrip of strings that we need to release in time? I guess we're only targeting an alpha for CDS but having all the metrics disappear for example would be bummer
Co-Authored-By: Brendan Kenny <bckenny@gmail.com>
Co-Authored-By: Brendan Kenny <bckenny@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, thanks for pulling in that TimingSummary
fix, too!
LGTM
Adds audit only; does not add it to default config or add renderer code. That will be done in a later PR.
This audit returns details in the following format:
Background info on timing budgets implementation:
The
performance-budget
audit is becomingresource-budget
audit; timing budgets are being added as a a separatetiming-budget
audit. Both audits are part of thebudgets
group.Issue: #8917