Skip to content
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

misc(inp): switch proccessing "delay" to "time" #13999

Merged
merged 1 commit into from
May 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lighthouse-core/audits/work-during-interaction.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const UIStrings = {
/** Label for a column in a data table; entries will be information on the time that the browser is delayed before responding to user input. Ideally fits within a ~40 character limit. */
inputDelay: 'Input delay',
/** Label for a column in a data table; entries will be information on the time taken by code processing user input that delays a response to the user. Ideally fits within a ~40 character limit. */
processingDelay: 'Processing delay',
processingTime: 'Processing time',
/** Label for a column in a data table; entries will be information on the time that the browser is delayed before presenting a response to user input on screen. Ideally fits within a ~40 character limit. */
presentationDelay: 'Presentation delay',
/**
Expand Down Expand Up @@ -116,7 +116,7 @@ class WorkDuringInteraction extends Audit {
const endTs = startTs + interactionData.duration * 1000;
return {
inputDelay: {startTs, endTs: processingStartTs},
processingDelay: {startTs: processingStartTs, endTs: processingEndTs},
processingTime: {startTs: processingStartTs, endTs: processingEndTs},
presentationDelay: {startTs: processingEndTs, endTs},
};
}
Expand Down
6 changes: 3 additions & 3 deletions lighthouse-core/test/audits/work-during-interaction-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ Object {
},
Object {
"phase": Object {
"formattedDefault": "Processing delay",
"i18nId": "lighthouse-core/audits/work-during-interaction.js | processingDelay",
"formattedDefault": "Processing time",
"i18nId": "lighthouse-core/audits/work-during-interaction.js | processingTime",
"values": undefined,
},
"subItems": Object {
Expand Down Expand Up @@ -227,7 +227,7 @@ Object {
"endTs": 633282934296,
"startTs": 633282649296,
},
"processingDelay": Object {
"processingTime": Object {
"endTs": 633282649296,
"startTs": 633282608296,
},
Expand Down
4 changes: 2 additions & 2 deletions shared/localization/locales/en-US.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions shared/localization/locales/en-XL.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.