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

Optimization of export genesis command #1195

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

avalkov
Copy link
Contributor

@avalkov avalkov commented Oct 16, 2024

Optimization of export genesis command to use less memory.

@avalkov avalkov force-pushed the avalkov/Optimize-genesis-export branch 2 times, most recently from d744a2c to facb388 Compare October 18, 2024 05:11
@avalkov avalkov force-pushed the avalkov/Optimize-genesis-export branch from 5f6f0e3 to db44f10 Compare October 23, 2024 05:32
@pratikspatil024
Copy link
Member

QQ - this is only optimising the clerk event records, right? The other modules does not require any optimisation?

@avalkov
Copy link
Contributor Author

avalkov commented Oct 29, 2024

QQ - this is only optimising the clerk event records, right? The other modules does not require any optimisation?

clerk event records hold like 90% of the entire state so the streamed reading of data is implemented only there.

The second big optimization is how we write the file to disk.

@avalkov avalkov merged commit f518a12 into develop Oct 29, 2024
8 of 9 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.

3 participants