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

perf(nns): Add benchmarks for neuron data validator #3102

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

jasonz-dfinity
Copy link
Contributor

Why

Neuron data validator goes through batches of neurons in order to make sure neurons and its indexes are in a consistent state, and such operations will get more expensive after neurons are migrated to stable structures. Adding benchmarks makes it easier to optimize the performance, and help prevent regressions.

What

Add benchmarks for neuron data validator for 2 cases - whether the neuron migration to stable structures is enabled or not.

@max-dfinity max-dfinity added this pull request to the merge queue Dec 11, 2024
Merged via the queue into master with commit 1f952c5 Dec 11, 2024
25 checks passed
@max-dfinity max-dfinity deleted the jason/NNS1-3475-1 branch December 11, 2024 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants