-
Notifications
You must be signed in to change notification settings - Fork 991
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
fix_: message history loading took too much time #21411
Conversation
Jenkins BuildsClick to see older builds (16)
|
953d6d6
to
5261fec
Compare
de57142
to
4f41b46
Compare
Hey @qfrank ! Thanks for your PR. I have 2 questions to discuss. The second one can be a separate issue I guess.
If both my questions are not in scope of current PR then PR can be merged. |
75% of end-end tests have passed
Failed tests (2)Click to expandClass TestWalletOneDevice:
Class TestCommunityMultipleDeviceMerged:
Passed tests (6)Click to expandClass TestWalletMultipleDevice:
Class TestWalletOneDevice:
Class TestOneToOneChatMultipleSharedDevicesNewUi:
Class TestCommunityOneDeviceMerged:
|
@mariia-skrypnyk Thank you for testing!
From a normal user view, this should definitely be fixed. I doubt if it's relate to this PR, can you reproduce it without this PR?
Let's create a separate issue for this and attach the logs for sender and receiver, both debug level pls 🙏 |
Confirmed by @ilmotta that waku has no change in this Pr, so shouldn't make a difference; Speaking of:
It was always like this, just eventually it should be in the same order that it was sent (so the sequence in the chat view after all messages are loaded will be the same eventually). So basically we should check that that performance is better in this PR in terms of communiy /chat loading |
Hey @qfrank !
Always welcome!) 1) Could you tell me how long it took before this PR? will combine these 2 questions because for me chat appeared after 2 min of waiting and contained all uploaded messages (develop). I've tried several times to trick this process by scaning Sender's QR to get into the chat quicker (wanted to observe in what order messages are loading) but no chance to have chat in the list of chats less then 2 min of waiting 3) From a normal user view, this should definitely be fixed. I doubt if it's relate to this PR, can you reproduce it without this PR? yes, I cought it on develop too 4) Let's create a separate issue for this and attach the logs for sender and receiver, both debug level pls 🙏 ok, will do a separate issue Thanks @churik!
I assume that it's not a correct behaviour and I will create an issue on this.
definatelly is! @qfrank you are free to merge it 🙌 |
what about the logs ... @mariia-skrypnyk |
4f41b46
to
d53c1f5
Compare
Thanks for creating the followup issue, but the attached log didn't contain |
Thanks for catching it @qfrank . I've changed logs there. |
No need for 21460 ❤️ |
I have also checked performance from my side. Below is comparison between PR and nightly Android builds. PR - took 8 seconds to load chats and unread messages So it seems like we really see improvement in PR. But at the same time we still have space for additional improvements. @qfrank what do you think, does it makes sense to keep #21358 open (or we can open a new similar issue with updated statistics)? cc @churik On the video below PR screen is at the right and nightly is at the left part. pr_nightly_performance_comparison.mp4 |
There is a followup issue, I'll continue to improve it @pavloburykh |
For details pls see description in related status-go PR
fixes #21358