update-devtools
12 次代码提交
| 作者 | SHA1 | 备注 | 提交日期 | |
|---|---|---|---|---|
|
|
b747f9d74a |
feat: Integrate CrUX data into performance trace summaries (#733)
We upgrade the performance trace tools to include real-user experience data from the Chrome User Experience Report (CrUX). https://developer.chrome.com/docs/crux https://developer.chrome.com/docs/crux/methodology ### Deets * When a trace is stopped, the server now extracts the primary navigation URLs from the trace (determined by insightSets). * It calls the public CrUX API to fetch field metrics (LCP, INP, CLS) for each unique URL/Origin. * The formatting of crux data is handled by upstream TraceFormatter, but it looks like this: ```md Metrics (field / real users): - LCP: 2595 ms (scope: url) - LCP breakdown: - TTFB: 1273 ms (scope: url) - Load delay: 86 ms (scope: url) - Load duration: 451 ms (scope: url) - Render delay: 786 ms (scope: url) - INP: 140 ms (scope: url) - CLS: 0.06 (scope: url) - The above data is from CrUX–Chrome User Experience Report. It's how the page performs for real users. - The values shown above are the p75 measure of all real Chrome users - The scope indicates if the data came from the entire origin, or a specific url - Lab metrics describe how this specific page load performed, while field metrics are an aggregation of results from real-world users. Best practice is to prioritize metrics that are bad in field data. Lab metrics may be better or worse than fields metrics depending on the developer's machine, network, or the actions performed while tracing. ``` **Privacy Considerations:** * Updates the server README to inform users that performance analysis tools may send trace URLs to the Google CrUX API. * Adds a notification message to the server startup logs regarding the CrUX API interaction. Doc: go/crux-in-bifrost Fixes b/446630695 --------- Co-authored-by: Alex Rudenko <alexrudenko@chromium.org> Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com> |
||
|
|
144a513e5b |
chore(deps-dev): bump chrome-devtools-frontend from 1.0.1544076 to 1.0.1547147 in the bundled-devtools group (#597)
Bumps the bundled-devtools group with 1 update: [chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend). Updates `chrome-devtools-frontend` from 1.0.1544076 to 1.0.1547147 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/b907f0cd3b5b2c3c55139f5be34df4051c172dd4"><code>b907f0c</code></a> Lint all files</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/d875f63a18b7c1a5af39b36fd00d5b172340a8d6"><code>d875f63</code></a> Update Chrome (for Testing) PIN</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/db5bff7a5c9ed945c39c2e26d605848809ba0ffc"><code>db5bff7</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/703da59c49cbeb09e844d0ebf6339430d2276490"><code>703da59</code></a> RPP: Support columns, pretty'd sources in Source's panel profile data</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/cd885374e464e252345251e3b1585fbd52a9aa92"><code>cd88537</code></a> [AI] Add line, column to AICallTree serialization</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/36e5721e667aa7505e12812ed49221db01070176"><code>36e5721</code></a> Allow quotes in response to self-XXX mitigation</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/c89fc0d2ece2f97ed8c97f94a220c4651a5199f1"><code>c89fc0d</code></a> Let lint decided what files to handle</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/35151fe5e2adb79532ad805c1277a789cc65b1b4"><code>35151fe</code></a> Update Chrome (for Testing) PIN</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/25bf5bf9e859020b2749b63e9ecef5b3cfaf8c8d"><code>25bf5bf</code></a> Roll browser-protocol</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/2df407c5490f6d51a9fb40df8466e8f8704218e4"><code>2df407c</code></a> Replace devtools-console-insight-sources-list with view function.</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1544076...v1.0.1547147">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Rudenko <alexrudenko@chromium.org> |
||
|
|
247e1b6a71 |
chore(deps-dev): bump chrome-devtools-frontend from 1.0.1539728 to 1.0.1541169 in the bundled-devtools group (#536)
Bumps the bundled-devtools group with 1 update: [chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend). Updates `chrome-devtools-frontend` from 1.0.1539728 to 1.0.1541169 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/393435aef80c8bff3fa7ed835992704ea5a7339e"><code>393435a</code></a> Update Chrome (for Testing) PIN</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/59cc38b28a0697eb6908ba9e6c2502edb08fe349"><code>59cc38b</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/67a631561ba193aaf72303215d5ef5bd2def4811"><code>67a6315</code></a> [RPP] Simplify insight set id</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/941f21add00a7a522cb5dfa13c99b032f3c782be"><code>941f21a</code></a> [AI] Present trace facts grouped by insight set</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/8ae5a850eb98c42fd882dab3a59115e6f2d6a8ef"><code>8ae5a85</code></a> Revert from <code>fetch</code> back to <code>http.request</code> in resultsdb.ts</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/774cfe78fe219714e5d89354d7815ac91342dc2a"><code>774cfe7</code></a> Update Chrome (for Testing) PIN</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/76cbb2c5b1627eb6903b8ad9f8a93ef77f442ed9"><code>76cbb2c</code></a> [eslint] Add <code>eslint-plugin-lit</code></li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/92be0b6fde17878efced6c91330b29b3adefe6a9"><code>92be0b6</code></a> Replace <code>outline-width: 0</code> with <code>outline-style: none</code></li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/fa72d9702d35727a48d567a67df26a23e6e2ef74"><code>fa72d97</code></a> Move affected count updates out of list rendering</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/baec26cf66c7dae30594b4a03f696fb3f17fa337"><code>baec26c</code></a> Roll browser-protocol</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1539728...v1.0.1541169">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Rudenko <alexrudenko@chromium.org> |
||
|
|
6af913348f |
chore(deps-dev): bump chrome-devtools-frontend from 1.0.1536371 to 1.0.1538310 in the bundled group (#508)
Bumps the bundled group with 1 update: [chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend). Updates `chrome-devtools-frontend` from 1.0.1536371 to 1.0.1538310 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/0339e4bc4757f5ac2597ca7583df9ec622f822f0"><code>0339e4b</code></a> Adopt UI eng vision in the OriginTrialTokenRows</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/93bd5da91a5ce6964a305f10704705a31467daa2"><code>93bd5da</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/346f3dfde240a34b2473cb99a094ce59279a54aa"><code>346f3df</code></a> Add throttling indications in the performance panel</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/a0001354e75e51c513e33e6e6cbba555b7c949e2"><code>a000135</code></a> Update .env description</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/e828c4b947726794560811d1e4b7416a74eaaaa3"><code>e828c4b</code></a> Update Chrome (for Testing) PIN</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/ff9456267a699a00a574076ef4df3d4dc9a91b83"><code>ff94562</code></a> [eslint] Enforce custom elements naming</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/e47cf443a3283de7f0077ea41b2d074c1054d54c"><code>e47cf44</code></a> Add code for creating request and calling generateCode</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/d31e1d757a684bf6765de95fa8bc16386e267a0f"><code>d31e1d7</code></a> Speculation Rules: move NOT_TRIGGERED to bottom when sorted</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/e76b25549adccc38581e90b2550f89c34aa2b21f"><code>e76b255</code></a> Mostly migrate RequestTimingView.ts</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/ff3c3031a3473b36e5d5aabbb93d65a7ae98b115"><code>ff3c303</code></a> Use unqualified Lit identifiers and call update render function names in the ...</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1536371...v1.0.1538310">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Rudenko <alexrudenko@chromium.org> |
||
|
|
12eb494466 |
chore(deps-dev): bump chrome-devtools-frontend from 1.0.1524741 to 1.0.1531367 in the chrome-devtools-frontend group (#429)
Bumps the chrome-devtools-frontend group with 1 update: [chrome-devtools-frontend](https://github.com/ChromeDevTools/devtools-frontend). Updates `chrome-devtools-frontend` from 1.0.1524741 to 1.0.1531367 <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/6f4312a899ff0af345ba1a51ba719d0c0a1bf5d2"><code>6f4312a</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/03ffc0b5fc5f07fdde976d2ad47670138bf5cca7"><code>03ffc0b</code></a> Update Chrome (for Testing) PIN</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/a717fef99f53ea02dbc91867206546800ae52f69"><code>a717fef</code></a> [RPP] Actually hide Workspaces in trace app</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/9ac40d2b0c7d7cf9d6493905df1a72dd4b90803b"><code>9ac40d2</code></a> Increase performance tests timeout</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/ca1486a6501f6926009969c0c1aa3a577ec93210"><code>ca1486a</code></a> Create throttling/blocking conditions from the context menu</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/19213823907008766d5759b8b25feca602ea93fa"><code>1921382</code></a> [Console Insights Teasers] Add error state</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/2678dc3548a7fbb9aa80455ffa0dc13fd0714e86"><code>2678dc3</code></a> Update DevTools DEPS (trusted)</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/db045b91de4fa65c651bda1968ad882f78160a26"><code>db045b9</code></a> [Console Insights Teasers] Handle slowness</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/a95ceaf384f7917fe9e3a2aac3d10000a8f14fc6"><code>a95ceaf</code></a> Fix console sidebar filter selection</li> <li><a href="https://github.com/ChromeDevTools/devtools-frontend/commit/a32c47b13d74ba38f478f3369d57bf9647a458b1"><code>a32c47b</code></a> Support individual request throttling in the request blocking panel</li> <li>Additional commits viewable in <a href="https://github.com/ChromeDevTools/devtools-frontend/compare/v1.0.1524741...v1.0.1531367">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by [GitHub Actions](<a href="https://www.npmjs.com/~GitHub">https://www.npmjs.com/~GitHub</a> Actions), a new releaser for chrome-devtools-frontend since your current version.</p> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore <dependency name> major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself) - `@dependabot ignore <dependency name> minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself) - `@dependabot ignore <dependency name>` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself) - `@dependabot unignore <dependency name>` will remove all of the ignore conditions of the specified dependency - `@dependabot unignore <dependency name> <ignore condition>` will remove the ignore condition of the specified dependency and ignore conditions </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Alex Rudenko <alexrudenko@chromium.org> |
||
|
|
2d4484a123 |
fix: ordering of information in performance trace summary (#334)
Fixes a bug where the output contained "this is a high level summary" before then outputting the call frame / network format information before then outputting the trace summary. With this commit, we now output the summary & insights before ending with the format information. |
||
|
|
869dd4273e |
fix: add data format information to trace summary (#166)
This CL adds the descriptions of the call frame format and the network request format to the summary so that as the AI sees these responses it can fully parse them. |
||
|
|
2dbdd2de4f |
chore: roll latest chrome-devtools-frontend (#163)
This includes a better fix for the circular dependency problem and makes the changes in the MCP server based on the upstream DevTools implementation changes. |
||
|
|
b2e1e3944c |
fix: roll latest DevTools to handle Insight errors (#149)
This commit updates DevTools to the latest release. This most importantly includes a fix for #124 and other reported issues where Insights that were actually errors were not handled correctly. They are now formatted correctly on the DevTools side and now will not break performance traces in the MCP server. |
||
|
|
e8fb30c1bf |
fix: rework performance parsing & error handling (#75)
This PR tidies up the code around performance parsing and what we respond with from our tools. It introduces the ability to have no Insights from a trace (relatively rare, but can happen), and also adds more information to the output in the event that something went wrong. Previously we just logged errors, but if we respond with them here that will also help users report issues and increase the chances that we can debug them. |
||
|
|
b830b436f9 | chore: roll devtools-frontend and update snapshots (#59) | ||
|
|
21e175b862 | feat: add performance_analyze_insight tool. (#42) |