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

[Break RPC]optimize memory usage of query_object_states #2884

Merged
merged 10 commits into from
Nov 15, 2024

Conversation

pause125
Copy link
Collaborator

Summary

Optimize memory usage of query_object_states

Main changes:
Define AnnotatedMoveStructVectorView to store vector of Move structs. This makes memory usage decreased from 9.26 GB to 768 MB.

This PR will break RPC response. Please pay attention @wow-sven

Copy link

vercel bot commented Nov 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 0:50am
test-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 0:50am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
rooch ⬜️ Ignored (Inspect) Visit Preview Nov 14, 2024 0:50am

@wow-sven wow-sven requested a review from yubing744 as a code owner November 14, 2024 12:40
@pause125 pause125 changed the title optimize memory usage of query_object_states [Break RPC]optimize memory usage of query_object_states Nov 14, 2024
@jolestar jolestar merged commit 7b74fde into rooch-network:main Nov 15, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants