-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-10-30] [HOLD for payment 2024-10-29] Benchmark performance bottlenecks when opening chats #50652
Comments
Thanks! 👋 |
Update Who
What
How |
cc @mountiny we'd like to ask you for any feedback about this 1st batch (please invite others!). Is there an area we're missing? I want to make sure we focus on the right parts when profiling this, the exact tools (like e2e suites) will come next once we fully agree on the who&what. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.51-4 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-10-29. 🎊 For reference, here are some details about the assignees on this issue:
|
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results. If a regression has occurred and you are the assigned CM follow the instructions here. If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future. |
The extended analytics setup is merged now:
|
also cc @hannojg, do you think these should also be reported to Firebase OR we just focus on being able to profile this behind some flag? |
This comment was marked as off-topic.
This comment was marked as off-topic.
I'm back to this issue after some inactivity from my end, will post an update tomorrow :) |
For starters I'm investigating why updated metadata fields are not visible in Firebase. They're in code here for 2 weeks now. cc @mountiny what is the last tag available in Hybrid, maybe it's a too short time window? #50881 (comment) |
Besides above I'm working on putting code markers in the correct places now. |
@adhorodyski are you getting staging data there too? latest staging is 9.0.55-9 |
Skipping the payment summary for this issue since all the assignees are employees or vendors. If this is incorrect, please manually add the payment summary SO. |
Sorry, this completely slipped through the cracks!
I think behind some flags so we can test those locally. I think it might be a bit too much to track all those events and send them to analytics. Lets get those implemented! How can i help on those? |
Yes, will check! This will also involve making a few changes in onyx to enable these kind of measurements! |
Working on a PR for onyx over here: expecting to wrap it up by tomorrow! With these changes we should be able to record all steps of what onyx does using the performance API / react-native-performance. We can then use the same API in the app to create reports for different actions performed. |
Reviewing now! |
Approved the PR to Onyx. I'll start adding the other metrics' calls (app-specific) into the app next week. |
#53278 here's another PR for the |
Here's how we're currently looking with 2 items left. Not sure how we should wrap these though yet.
I'm also thinking on how we can visualize this data. I can see this being exportable as any other trace (it's an array of measurements) so we can maybe build a Gant chart out of this. |
After some considerations around |
Coming from the discussion thread under https://expensify.slack.com/archives/C05LX9D6E07/p1728314452317409
Problem
Lack of solid performance benchmarks across the core app workflows, baselines for proposing performance improvements.
Solution
cc @hannojg
The text was updated successfully, but these errors were encountered: