From 4048396d543baa4e9bbbd350cb785069ec67d059 Mon Sep 17 00:00:00 2001 From: Rick Viscomi Date: Wed, 7 Aug 2024 17:08:29 -0400 Subject: [PATCH] core(long-tasks): link to latest guidance (#16138) --- core/audits/long-tasks.js | 2 +- .../fixtures/user-flows/reports/sample-flow-result.json | 6 +++--- core/test/results/sample_v2.json | 2 +- shared/localization/locales/en-US.json | 2 +- shared/localization/locales/en-XL.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/core/audits/long-tasks.js b/core/audits/long-tasks.js index 66acd3ed64d8..7f612e86646e 100644 --- a/core/audits/long-tasks.js +++ b/core/audits/long-tasks.js @@ -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} diff --git a/core/test/fixtures/user-flows/reports/sample-flow-result.json b/core/test/fixtures/user-flows/reports/sample-flow-result.json index f6252e5e984e..51e19049c4f9 100644 --- a/core/test/fixtures/user-flows/reports/sample-flow-result.json +++ b/core/test/fixtures/user-flows/reports/sample-flow-result.json @@ -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", @@ -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", @@ -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", diff --git a/core/test/results/sample_v2.json b/core/test/results/sample_v2.json index 45d72c5c06ee..b4a17eb022e0 100644 --- a/core/test/results/sample_v2.json +++ b/core/test/results/sample_v2.json @@ -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", diff --git a/shared/localization/locales/en-US.json b/shared/localization/locales/en-US.json index f20e33696775..d9ef9cc34cb9 100644 --- a/shared/localization/locales/en-US.json +++ b/shared/localization/locales/en-US.json @@ -1101,7 +1101,7 @@ "message": "Largest Contentful Paint image was not lazily loaded" }, "core/audits/long-tasks.js | description": { - "message": "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)" + "message": "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)" }, "core/audits/long-tasks.js | displayValue": { "message": "{itemCount, plural,\n =1 {# long task found}\n other {# long tasks found}\n }" diff --git a/shared/localization/locales/en-XL.json b/shared/localization/locales/en-XL.json index f337c64c0a0f..9eebad4bfd19 100644 --- a/shared/localization/locales/en-XL.json +++ b/shared/localization/locales/en-XL.json @@ -1101,7 +1101,7 @@ "message": "L̂ár̂ǵêśt̂ Ćôńt̂én̂t́f̂úl̂ Ṕâín̂t́ îḿâǵê ẃâś n̂ót̂ ĺâźîĺŷ ĺôád̂éd̂" }, "core/audits/long-tasks.js | description": { - "message": "L̂íŝt́ŝ t́ĥé l̂ón̂ǵêśt̂ t́âśk̂ś ôń t̂h́ê ḿâín̂ t́ĥŕêád̂, úŝéf̂úl̂ f́ôŕ îd́êńt̂íf̂ýîńĝ ẃôŕŝt́ ĉón̂t́r̂íb̂út̂ór̂ś t̂ó îńp̂út̂ d́êĺâý. [L̂éâŕn̂ h́ôẃ t̂ó âv́ôíd̂ ĺôńĝ ḿâín̂-t́ĥŕêád̂ t́âśk̂ś](https://web.dev/articles/long-tasks-devtools)" + "message": "L̂íŝt́ŝ t́ĥé l̂ón̂ǵêśt̂ t́âśk̂ś ôń t̂h́ê ḿâín̂ t́ĥŕêád̂, úŝéf̂úl̂ f́ôŕ îd́êńt̂íf̂ýîńĝ ẃôŕŝt́ ĉón̂t́r̂íb̂út̂ór̂ś t̂ó îńp̂út̂ d́êĺâý. [L̂éâŕn̂ h́ôẃ t̂ó âv́ôíd̂ ĺôńĝ ḿâín̂-t́ĥŕêád̂ t́âśk̂ś](https://web.dev/articles/optimize-long-tasks)" }, "core/audits/long-tasks.js | displayValue": { "message": "{itemCount, plural,\n =1 {# l̂ón̂ǵ t̂áŝḱ f̂óûńd̂}\n other {# ĺôńĝ t́âśk̂ś f̂óûńd̂}\n }"