Skip to content
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

[Tracking] [Performance] Margelo/Expensify - Performance Improvements #10962

Closed
trjExpensify opened this issue Sep 13, 2022 · 21 comments
Closed
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2

Comments

@Szymon20000
Copy link
Contributor

I would add:

  • CI Tests (reassure, startup time)
  • SideBarLinks
  • HeaderView Doesn't use onyx context context (I think it's also the case with SideBarLinks) It means onyx will send them another copy od personalDetails as far as I know

@trjExpensify
Copy link
Contributor Author

Awesome. Added those. Presumably they don't have issues to link yet, right? Outside of SideBarLinks, as @tgolen is working on PRs for that.

P.S - I can co-assign you this tracker now that you've commented. GH wasn't allowing me to do that yesterday.

@JmillsExpensify JmillsExpensify changed the title [Main] Margelo/Expensify - Performance Improvements [Main] [Performance] Margelo/Expensify - Performance Improvements Sep 22, 2022
@melvin-bot melvin-bot bot added the Overdue label Sep 22, 2022
@roryabraham
Copy link
Contributor

Upgrade RN fork to 0.70

Finished this last week

@melvin-bot melvin-bot bot removed the Overdue label Sep 26, 2022
@roryabraham
Copy link
Contributor

@tgolen @Szymon20000 I know a lot of progress has been made on the LHN improvements, is there more to do here or should we check that off?

@tgolen
Copy link
Contributor

tgolen commented Sep 26, 2022

I have a bunch of random cleanup items, but I feel pretty confident to check it off for now.

@melvin-bot melvin-bot bot added the Overdue label Oct 5, 2022
@roryabraham
Copy link
Contributor

Update:

  • [Performance] md5.js takes a lot of time #10794 is done
  • The value of [HOLD for payment 2023-01-19] [Performance] Use react-native-quick-sqlite instead of asyncStorage #10793 is in question/unclear. I think we'll likely want to continue investigating this, but there's a lot of context in this thread
  • dev: performance regression tests #11327 progress seems to have stalled, waiting for a summary of the CI stability issues from @hannojg
  • Replace _.merge function with faster alternativePR merged yesterday and published to npm in react-native-onyx@1.0.19. However, we need to bump the Onyx version in App to see this change take effect.
  • Open and close the same chat again and again on Android native and it will gradually slow down for no reason – Last we heard, this was no longer reproducible, so I'm checking it off.
  • HeaderView Doesn't use onyx context context (I think it's also the case with SideBarLinks) It means onyx will send them another copy of personalDetails as far as I know - nobody is assigned to this one, but there have been a few investigations into more low-level Onyx improvements, particularly by @marcaaron. I like the idea of trying to dynamically generate Onyx contexts within withOnyx so that we can use the context API for all subscribers universally.

@melvin-bot melvin-bot bot removed the Overdue label Oct 6, 2022
@marcaaron
Copy link
Contributor

@roryabraham In my PR to start using the modern "drawer" navigator I refactor the HeaderView a little so that the props are already available and passed via the ReportScreen - just minimizes a connection or two. I think a context based solution would be interesting though but had trouble thinking of how it would work.

@roryabraham
Copy link
Contributor

In my #11550 I refactor the HeaderView a little so that the props are already available and passed via the ReportScreen - just minimizes a connection or two.

Yeah, we could probably extract that change out of the drawer PR because it's not directly related AFAICT?

@marcaaron
Copy link
Contributor

Could do that yep

@hannojg
Copy link
Contributor

hannojg commented Oct 8, 2022

I'd add this PR as well:

#11684

The reason for investigation was this described issue: https://expensify.slack.com/archives/C035J5C9FAP/p1664523169910029?thread_ts=1664522847.768359&cid=C035J5C9FAP

@roryabraham
Copy link
Contributor

Put up this PR to glean the performance benefits from recent upgrades made in Onyx.

@melvin-bot melvin-bot bot removed the Overdue label Oct 18, 2022
@puneetlath puneetlath added the Bug Something is broken. Auto assigns a BugZero manager. label Oct 19, 2022
@JmillsExpensify JmillsExpensify changed the title [Main] [Performance] Margelo/Expensify - Performance Improvements [Tracking] [Performance] Margelo/Expensify - Performance Improvements Oct 19, 2022
@roryabraham
Copy link
Contributor

Removing #4656 and instead replacing it with #11997, which will provide us with clear metrics that we can point to when we want to know if we need to improve. The deliverables there are more clear and should help align us on how to make performance improvements.

@JmillsExpensify
Copy link

Added the issue for the comment box freezing the app following quick typing.

@melvin-bot melvin-bot bot added the Overdue label Oct 28, 2022
@roryabraham
Copy link
Contributor

@melvin-bot melvin-bot bot removed the Overdue label Oct 31, 2022
@melvin-bot melvin-bot bot added the Overdue label Nov 8, 2022
@JmillsExpensify
Copy link

Updated the tracking issue to try and capture the latest convos!

@roryabraham
Copy link
Contributor

@JmillsExpensify
Copy link

Most of what's written above is still valid this week. I also also linked the tracking issue for KeyboardAvoidingView, as we have about 9 bugs there that have gone stale over the last week.

@melvin-bot melvin-bot bot added the Overdue label Nov 16, 2022
@roryabraham
Copy link
Contributor

roryabraham commented Nov 16, 2022

@melvin-bot melvin-bot bot removed the Overdue label Nov 16, 2022
@melvin-bot melvin-bot bot added the Overdue label Nov 25, 2022
@roryabraham
Copy link
Contributor

Removing #8503 because it's being handled by SWM now

@melvin-bot melvin-bot bot removed the Overdue label Nov 28, 2022
@roryabraham
Copy link
Contributor

Removing #10273 because it was primarily done by @tgolen, not Margelo

@roryabraham
Copy link
Contributor

Chatted with @JmillsExpensify – this issue is prettymuch serving the same purpose as Margelo's regular slack updates here. Rather than maintaining these multiple sources of truth, I'm actually going to just close this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Weekly KSv2
Projects
None yet
Development

No branches or pull requests

8 participants