[NoQA] Fix web profile trace - #70881
Conversation
|
@aldo-expensify Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppNA Android: mWeb Chrome2025-09-19.17.32.52.moviOS: HybridAppNA iOS: mWeb Safari2025-09-19.17.27.45.movMacOS: Chrome / Safari2025-09-19.17.18.44.movMacOS: Desktop2025-09-19.17.24.29.mov |
|
@JKobrynski |
| Performance.disableMonitoring(); | ||
| } | ||
| toggleProfileTool(isProfilingInProgress); | ||
| toggleProfileTool(shouldProfiling); |
There was a problem hiding this comment.
NAB: shouldn't this variable be named shouldProfile?
|
Good shout, I think we can rename it in the next pr (there will be some more for this to get fixed completely) |
|
@ZhenjaHorbach also something to handle, but for now this should unblock the feature to some extent, thanks! |
Oh |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.2.16-0 🚀
|
|
@mountiny |
@JKobrynski |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.2.16-14 🚀
|
|
@mountiny |
|
Issue here #72127 |
Explanation of Change
It was reported on Slack that profile trace on web is broken and can't be used in any available software to investigate performance issues. This PR makes it possible to generate a trace that after symbolication can be viewed in chrome://tracing and ui.perfetto.dev, speedscope doesn't work, probably because of the symbolicated profile trace's size. The size is another problem that we could address in the future, but this fix would make it possible to see anything in these traces for now.
Fixed Issues
$ #72127
PROPOSAL: N/A
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop