perf: bottom bar switching and search popovers#65240
Merged
mountiny merged 6 commits intoJul 3, 2025
Merged
Conversation
adhorodyski
reviewed
Jul 1, 2025
|
@rushatgabhane 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] |
Member
Reviewer Checklist
Screenshots/VideosAndroid: mWeb ChromeiOS: HybridAppScreen.Recording.2025-07-02.at.19.13.16.moviOS: mWeb SafariScreen.Recording.2025-07-02.at.18.41.02.movMacOS: Chrome / SafariScreen.Recording.2025-07-02.at.18.30.44.movScreen.Recording.2025-07-02.at.18.39.56.movMacOS: DesktopScreen.Recording.2025-07-02.at.19.25.02.mov |
Member
|
eta today |
Contributor
|
@rushatgabhane do you experience a noticeable speed up when compared to main? |
Member
|
i tested release build for Android, and there was a noticeable improvement. For web, it didn't make any difference to my eye 😅 |
mountiny
approved these changes
Jul 3, 2025
Contributor
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
63 tasks
Contributor
|
🚀 Deployed to staging by https://github.com/mountiny in version: 9.1.75-0 🚀
|
Closed
8 tasks
8 tasks
Contributor
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.76-5 🚀
|
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.

Explanation of Change
These changes optimize performance of switching between bottom tabs and search action in Reports tab.
Fixed Issues
$#60007
Tests
Basic scenarios:
Important: test if #65144 doesn't occur anymore:
Important: test if #65117 doesn't occur anymore:
Offline tests
Same as Tests.
QA Steps
Same as Tests.
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
Scenario*1 Switching between bottom tabs
=== 📁 Trace File Analysis ===
📄 File: before-switching-between-tabs.json
• Commit count: 72
• Total render duration: 4318.899 ms
• p50 / p95 / p99 (ms):
• p50: 1.315 ms
• p95: 385.370 ms
• p99: 614.654 ms
📄 File: profiling-data.01.07.2025.12-31-50.json
• Commit count: 61
• Total render duration: 2944.424 ms
• p50 / p95 / p99 (ms):
• p50: 1.450 ms
• p95: 245.304 ms
• p99: 352.955 ms
=== 📊 Trace Comparison ===
🔁 Comparing Baseline↔️ profiling-data.01.07.2025.12-31-50.json
🟢 Duration Diff: -1374.475 ms
🟢 Commit Count Diff: -11
Scenario*2 Search and chat navigation in Reports tab
=== 📁 Trace File Analysis ===
📄 File: before-search-and-chat-navigation.json
• Commit count: 59
• Total render duration: 3078.605 ms
• p50 / p95 / p99 (ms):
• p50: 17.095 ms
• p95: 392.499 ms
• p99: 641.190 ms
📄 File: profiling-data.01.07.2025.12-33-15.json
• Commit count: 65
• Total render duration: 2141.174 ms
• p50 / p95 / p99 (ms):
• p50: 15.024 ms
• p95: 151.776 ms
• p99: 318.363 ms
=== 📊 Trace Comparison ===
🔁 Comparing Baseline↔️ profiling-data.01.07.2025.12-33-15.json
🟢 Duration Diff: -937.431 ms
🔴 Commit Count Diff: 6
Scenario*3 Using predefined filter:
from=== 📁 Trace File Analysis ===
📄 File: before-from-filter.json
• Commit count: 95
• Total render duration: 7885.098 ms
• p50 / p95 / p99 (ms):
• p50: 16.541 ms
• p95: 395.114 ms
• p99: 638.907 ms
📄 File: profiling-data.01.07.2025.12-09-36.json
• Commit count: 90
• Total render duration: 6637.050 ms
• p50 / p95 / p99 (ms):
• p50: 11.841 ms
• p95: 292.853 ms
• p99: 507.733 ms
=== 📊 Trace Comparison ===
🔁 Comparing Baseline↔️ profiling-data.01.07.2025.12-09-36.json
🟢 Duration Diff: -1248.048 ms
🟢 Commit Count Diff: -5