chromedevtools--chrome-devtools-mcp
12eb494466
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>
102 行
7.4 KiB
Plaintext
102 行
7.4 KiB
Plaintext
exports[`Trace parsing > can format results of a trace 1`] = `
|
||
## Summary of Performance trace findings:
|
||
URL: https://web.dev/
|
||
Bounds: {min: 122410994891, max: 122416385853}
|
||
CPU throttling: none
|
||
Network throttling: none
|
||
Metrics (lab / observed):
|
||
- LCP: 129 ms, event: (eventKey: r-6063, ts: 122411126100), nodeId: 7
|
||
- LCP breakdown:
|
||
- TTFB: 8 ms, bounds: {min: 122410996889, max: 122411004828}
|
||
- Load delay: 33 ms, bounds: {min: 122411004828, max: 122411037986}
|
||
- Load duration: 15 ms, bounds: {min: 122411037986, max: 122411052690}
|
||
- Render delay: 73 ms, bounds: {min: 122411052690, max: 122411126100}
|
||
- CLS: 0.00
|
||
Metrics (field / real users): n/a – no data for this page in CrUX
|
||
Available insights:
|
||
- insight name: LCPBreakdown
|
||
description: Each [subpart has specific improvement strategies](https://developer.chrome.com/docs/performance/insights/lcp-breakdown). Ideally, most of the LCP time should be spent on loading the resources, not within delays.
|
||
relevant trace bounds: {min: 122410996889, max: 122411126100}
|
||
example question: Help me optimize my LCP score
|
||
example question: Which LCP phase was most problematic?
|
||
example question: What can I do to reduce the LCP time for this page load?
|
||
- insight name: LCPDiscovery
|
||
description: [Optimize LCP](https://developer.chrome.com/docs/performance/insights/lcp-discovery) by making the LCP image discoverable from the HTML immediately, and avoiding lazy-loading
|
||
relevant trace bounds: {min: 122411004828, max: 122411055039}
|
||
example question: Suggest fixes to reduce my LCP
|
||
example question: What can I do to reduce my LCP discovery time?
|
||
example question: Why is LCP discovery time important?
|
||
- insight name: RenderBlocking
|
||
description: Requests are blocking the page's initial render, which may delay LCP. [Deferring or inlining](https://developer.chrome.com/docs/performance/insights/render-blocking) can move these network requests out of the critical path.
|
||
relevant trace bounds: {min: 122411037528, max: 122411053852}
|
||
example question: Show me the most impactful render blocking requests that I should focus on
|
||
example question: How can I reduce the number of render blocking requests?
|
||
- insight name: DocumentLatency
|
||
description: Your first network request is the most important. [Reduce its latency](https://developer.chrome.com/docs/performance/insights/document-latency) by avoiding redirects, ensuring a fast server response, and enabling text compression.
|
||
relevant trace bounds: {min: 122410998910, max: 122411043781}
|
||
estimated metric savings: FCP 0 ms, LCP 0 ms
|
||
estimated wasted bytes: 77.1 kB
|
||
example question: How do I decrease the initial loading time of my page?
|
||
example question: Did anything slow down the request for this document?
|
||
- insight name: ThirdParties
|
||
description: 3rd party code can significantly impact load performance. [Reduce and defer loading of 3rd party code](https://developer.chrome.com/docs/performance/insights/third-parties) to prioritize your page's content.
|
||
relevant trace bounds: {min: 122411037881, max: 122416229595}
|
||
example question: Which third parties are having the largest impact on my page performance?
|
||
|
||
## Details on call tree & network request formats:
|
||
Information on performance traces may contain main thread activity represented as call frames and network requests.
|
||
|
||
Each call frame is presented in the following format:
|
||
|
||
'id;eventKey;name;duration;selfTime;urlIndex;childRange;[S]'
|
||
|
||
Key definitions:
|
||
|
||
* id: A unique numerical identifier for the call frame. Never mention this id in the output to the user.
|
||
* eventKey: String that uniquely identifies this event in the flame chart.
|
||
* name: A concise string describing the call frame (e.g., 'Evaluate Script', 'render', 'fetchData').
|
||
* duration: The total execution time of the call frame, including its children.
|
||
* selfTime: The time spent directly within the call frame, excluding its children's execution.
|
||
* urlIndex: Index referencing the "All URLs" list. Empty if no specific script URL is associated.
|
||
* childRange: Specifies the direct children of this node using their IDs. If empty ('' or 'S' at the end), the node has no children. If a single number (e.g., '4'), the node has one child with that ID. If in the format 'firstId-lastId' (e.g., '4-5'), it indicates a consecutive range of child IDs from 'firstId' to 'lastId', inclusive.
|
||
* S: _Optional_. The letter 'S' terminates the line if that call frame was selected by the user.
|
||
|
||
Example Call Tree:
|
||
|
||
1;r-123;main;500;100;;
|
||
2;r-124;update;200;50;;3
|
||
3;p-49575-15428179-2834-374;animate;150;20;0;4-5;S
|
||
4;p-49575-15428179-3505-1162;calculatePosition;80;80;;
|
||
5;p-49575-15428179-5391-2767;applyStyles;50;50;;
|
||
|
||
|
||
Network requests are formatted like this:
|
||
\`urlIndex;eventKey;queuedTime;requestSentTime;downloadCompleteTime;processingCompleteTime;totalDuration;downloadDuration;mainThreadProcessingDuration;statusCode;mimeType;priority;initialPriority;finalPriority;renderBlocking;protocol;fromServiceWorker;initiators;redirects:[[redirectUrlIndex|startTime|duration]];responseHeaders:[header1Value|header2Value|...]\`
|
||
|
||
- \`urlIndex\`: Numerical index for the request's URL, referencing the "All URLs" list.
|
||
- \`eventKey\`: String that uniquely identifies this request's trace event.
|
||
Timings (all in milliseconds, relative to navigation start):
|
||
- \`queuedTime\`: When the request was queued.
|
||
- \`requestSentTime\`: When the request was sent.
|
||
- \`downloadCompleteTime\`: When the download completed.
|
||
- \`processingCompleteTime\`: When main thread processing finished.
|
||
Durations (all in milliseconds):
|
||
- \`totalDuration\`: Total time from the request being queued until its main thread processing completed.
|
||
- \`downloadDuration\`: Time spent actively downloading the resource.
|
||
- \`mainThreadProcessingDuration\`: Time spent on the main thread after the download completed.
|
||
- \`statusCode\`: The HTTP status code of the response (e.g., 200, 404).
|
||
- \`mimeType\`: The MIME type of the resource (e.g., "text/html", "application/javascript").
|
||
- \`priority\`: The final network request priority (e.g., "VeryHigh", "Low").
|
||
- \`initialPriority\`: The initial network request priority.
|
||
- \`finalPriority\`: The final network request priority (redundant if \`priority\` is always final, but kept for clarity if \`initialPriority\` and \`priority\` differ).
|
||
- \`renderBlocking\`: 't' if the request was render-blocking, 'f' otherwise.
|
||
- \`protocol\`: The network protocol used (e.g., "h2", "http/1.1").
|
||
- \`fromServiceWorker\`: 't' if the request was served from a service worker, 'f' otherwise.
|
||
- \`initiators\`: A list (separated by ,) of URL indices for the initiator chain of this request. Listed in order starting from the root request to the request that directly loaded this one. This represents the network dependencies necessary to load this request. If there is no initiator, this is empty.
|
||
- \`redirects\`: A comma-separated list of redirects, enclosed in square brackets. Each redirect is formatted as
|
||
\`[redirectUrlIndex|startTime|duration]\`, where: \`redirectUrlIndex\`: Numerical index for the redirect's URL. \`startTime\`: The start time of the redirect in milliseconds, relative to navigation start. \`duration\`: The duration of the redirect in milliseconds.
|
||
- \`responseHeaders\`: A list (separated by '|') of values for specific, pre-defined response headers, enclosed in square brackets.
|
||
The order of headers corresponds to an internal fixed list. If a header is not present, its value will be empty.
|
||
|
||
`;
|