Page hangs when logged in with an address that owns _many_ points
Background: I have issues a lot of invite tickets, many have not been claimed yet. This means that my "family view" is swamped by around 500 points. When I try to log in to do something with the stars that issued these invites, the page hangs.
I spoke @g-a-v-i-n and he doesn't think that this is a rendering issue, thinks that it's rather an a thread blocking on one of the gazillion ajax requests. I have a hunch that the right thing to do here is to batch our requests perhaps?
@Fang- @liam-fitzgerald this issue is blocking me right (and I'd be down to use a hack in the short term), but I could definitely imagine this being a bummer for other stars that try to issue a lot of invites.
Looks like sigil is making everything slow. Will try some low hanging optimisations and see what happens
https://github.com/urbit/bridge/tree/perf-memo-passport Does this branch mitigate the problem for you?
I've also observed (a smaller case of) this. We do definitely spend a lot of time doing requests for all these ships. Figuring out what kind of transfer they are (if any) etc. But I haven't formally diagnosed this. Could just be that the re-renders caused by the many separate responses are what's slowing us down here.
(I cry every time I think about how often we re-render the entire page because some insignificant backend variable changed.)
I was going to suggest moving "outgoing transfers" to a separate page, but that won't save us if the problem is in determining which of our assets are in-transit in the first place...