-
Notifications
You must be signed in to change notification settings - Fork 3.5k
perf: bottom bar switching and search popovers #65240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
perf: bottom bar switching and search popovers #65240
Conversation
|
@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] |
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 |
|
eta today |
rushatgabhane
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
@rushatgabhane do you experience a noticeable speed up when compared to main? |
|
i tested release build for Android, and there was a noticeable improvement. For web, it didn't make any difference to my eye 😅 |
|
✋ 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.1.75-0 🚀
|
|
🚀 Deployed to production by https://github.com/mountiny in version: 9.1.76-5 🚀
|

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