Skip to content

Commit

Permalink
core(long-tasks): link to latest guidance (#16138)
Browse files Browse the repository at this point in the history
  • Loading branch information
rviscomi authored Aug 7, 2024
1 parent 5b33eb0 commit 4048396
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion core/audits/long-tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const UIStrings = {
/** Description of a diagnostic LH audit that shows the user the longest running tasks that occur when the page loads. */
description: 'Lists the longest tasks on the main thread, ' +
'useful for identifying worst contributors to input delay. ' +
'[Learn how to avoid long main-thread tasks](https://web.dev/articles/long-tasks-devtools)',
'[Learn how to avoid long main-thread tasks](https://web.dev/articles/optimize-long-tasks)',
/** [ICU Syntax] Label identifying the number of long-running CPU tasks that occurred while loading a web page. */
displayValue: `{itemCount, plural,
=1 {# long task found}
Expand Down
6 changes: 3 additions & 3 deletions core/test/fixtures/user-flows/reports/sample-flow-result.json
Original file line number Diff line number Diff line change
Expand Up @@ -1851,7 +1851,7 @@
"long-tasks": {
"id": "long-tasks",
"title": "Avoid long main-thread tasks",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/long-tasks-devtools)",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/optimize-long-tasks)",
"score": 1,
"scoreDisplayMode": "informative",
"displayValue": "4 long tasks found",
Expand Down Expand Up @@ -9613,7 +9613,7 @@
"long-tasks": {
"id": "long-tasks",
"title": "Avoid long main-thread tasks",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/long-tasks-devtools)",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/optimize-long-tasks)",
"score": 1,
"scoreDisplayMode": "informative",
"displayValue": "1 long task found",
Expand Down Expand Up @@ -19541,7 +19541,7 @@
"long-tasks": {
"id": "long-tasks",
"title": "Avoid long main-thread tasks",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/long-tasks-devtools)",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/optimize-long-tasks)",
"score": 1,
"scoreDisplayMode": "informative",
"displayValue": "4 long tasks found",
Expand Down
2 changes: 1 addition & 1 deletion core/test/results/sample_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -2405,7 +2405,7 @@
"long-tasks": {
"id": "long-tasks",
"title": "Avoid long main-thread tasks",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/long-tasks-devtools)",
"description": "Lists the longest tasks on the main thread, useful for identifying worst contributors to input delay. [Learn how to avoid long main-thread tasks](https://web.dev/articles/optimize-long-tasks)",
"score": 1,
"scoreDisplayMode": "informative",
"displayValue": "3 long tasks found",
Expand Down
2 changes: 1 addition & 1 deletion shared/localization/locales/en-US.json

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

2 changes: 1 addition & 1 deletion shared/localization/locales/en-XL.json

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

0 comments on commit 4048396

Please sign in to comment.