Deploy April 2, 2026#5929
Merged
Merged
Conversation
This turns it into a Uint8Array of integer percentages, which requires less memory bandwidth when rendering the activity graph. We now always have a fallback threadCPUPercent array, even if the original profile doesn't contain any threadCPUDelta information. The synthesized values are set to 100%. We also have a trailing extra value in order to simplify the rendering code for the last sample.
…5898) This turns it into a Uint8Array of integer percentages, which requires less memory bandwidth when rendering the activity graph. We now always have a fallback threadCPUPercent array, even if the original profile doesn't contain any threadCPUDelta information. The synthesized values are set to 100%. We also have a trailing extra value in order to simplify the rendering code for the last sample. There's one behavior change related to the one-past-the-end value: In the past, we said "after the last sample, continue with the same CPU percentage as just before the last sample". Now we say "after the last sample, the CPU percentage is zero." The profile from the `'matches the 2d canvas draw snapshot with only one CPU usage value'` test demonstrates this: [Main branch](https://main--perf-html.netlify.app/public/zayx2xpyxyz8cd57nt6d6c9wxxxpwwq2y9pafjr/calltree/?globalTrackOrder=0&range=100u1900&thread=0&v=15) | [ Deploy preview](https://deploy-preview-5898--perf-html.netlify.app/public/zayx2xpyxyz8cd57nt6d6c9wxxxpwwq2y9pafjr/calltree/?globalTrackOrder=0&range=100u1900&thread=0&v=15)
Co-authored-by: chutten <chutten@mozilla.com> (en-CA)
Co-authored-by: wxie <xiewensheng@hotmail.com> (zh-CN)
Updated locales: en-CA, zh-CN.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes:
[Ojus Chugh] Pass profile upgrade info to stateFromLocation in compare view (#5890)
[Markus Stange] Rename threadCPURatio to threadCPUPercent and make it a Uint8Array (#5898)
[Ojus Chugh] Fix dev server rejecting non-localhost hosts when using FX_PROFILER_HOST (#5889)
[Markus Stange] Bump iongraph-web dependency (#5921)
[Markus Stange] 🔃 Sync: l10n -> main (March 31, 2026) (#5925)
[fatadel] Fix broken link in the dev tools message (#5924)
[Nazım Can Altınova] Update typescript 5.9.3 → 6.0.2 (major) (#5920)
[Nazım Can Altınova] Bump iongraph-web to 0.2.1 (#5928)
And special thanks to our localizers:
en-CA: chutten
zh-CN: wxie